Widely-used object-oriented programming language, emphasizing portability.

learn more… | top users | synonyms

1
vote
1answer
977 views

We can't access to jenkins from anywhere

We have just installed Jenkins on our server (Debian 7 wheezy). It works on local network, but not on extern network. We search but we don't find any workaround for this problem. We can ping our ...
0
votes
1answer
138 views

Why can't Java update automatically? [closed]

We've all seen the numerous reports about serious security problems related to Java. It's not really a new thing but it seems to have been more highlighted lately. Update after update have been ...
0
votes
1answer
223 views

Error while launching Wakfu

I installed Wakfu on my Ubuntu 12.04 from the source downloaded from the game website. While installing I got an error: '/home/sony/Downloads/Wakfu_unix.sh' Unpacking JRE ... Preparing JRE ... ...
1
vote
1answer
51 views

OpenJDK JRE textboxes become read-only after window is not active

I have had this glitch happen in the DrJava IDE and in the Arduino IDE. I can edit code and stuff just fine until I switch to another window and back. All I can do at that point is position the ...
8
votes
4answers
2k views

Does Android or Java use more power since it's running on a virtual machine?

Since Android applications run on a JVM (Dalvik VM) which is basically a virtual processor, and every virtual instruction has to be mapped to the underlying chipset's native instruction, does this ...
1
vote
1answer
43 views

How to update Oracle JDK on Debian

I am planning to install the oracle JDK7 on my Debian Wheezy machine. To do so I am using java-package to install the jdk as a .deb package under Debian, as described here. My question is: Can ...
1
vote
0answers
244 views

Command line showing only question marks at non-English computer

I have a Windows computer that's using a non-English language. I installed Java to make a keystore to my server. But when I execute it, it only shows '??????' For example C:\Java\bin\keytool> ...
2
votes
0answers
180 views

Running Topcoder arena applet behind University firewall

I am posting this question here after redirection from stackoverflow. I don't know if it's appropriate or not but I'm dying to get a solution. In our University, connections to external IP through the ...
1
vote
0answers
830 views

Disable Java Security Warning popup and fix lag

I've searched for a solution for this online and on superuser, but nothing seems to work. Every time Java is being used on a site I am on, a security warning appears with the text "Do you want to run ...
0
votes
0answers
34 views

how do you hook into a live stream of 802.15.4 packets? [closed]

Using a packet sniffer I am able to detect and successfully read a "hello word" payload within an 802.15.4 frame. It's great can see the frames in the sniffer, but now I'm at the point where I ...
0
votes
0answers
64 views

Alignment in EditPlus like eclipse?

How to set auto alignment or manual alignment for my java class in EditPlus ? In eclipse I can do this by ctrl + a and ctrl + i . How can I do this in EditPlus ?
-1
votes
1answer
2k views

“ps -ef | grep java” using java program [closed]

I'm attempting to execute ps -ef | grep java through java program. Here is my code- // String sudoScript = "sh -c \"ps -ef | grep java\""; String sudoScript = "ps -ef | grep java"; try { ...
0
votes
1answer
161 views

Close Java Console using a batch file

I work for a local council that for some reason has purchased an application that is very flaky when using Java. Certain web screens will not launch and the only way I have found to resolve the ...
0
votes
0answers
36 views

.tif image not getting downloaded in linux

I am downloading a .tif image from Firefox in Linux, and i look for the latest .tif file in the download folder: File dir = new File(downloadDir.getDownloadDir()); ...
8
votes
1answer
6k views

sorry, you must have a tty to run sudo

I had already asked this question in Stack Overflow, but I've been asked to post it here. So doing the same. I ran this command using my java program- sudo -u <username> -S pwd I got this ...
0
votes
0answers
45 views

Minecraft Keeps Replacing JAR

I don't want to keep creating new profiles for the new launcher. I just want to replace the .jar. But it always re downloads the original files. Why? Is there a way to avoid this? So, basically. I ...
0
votes
0answers
133 views

How to set Java VM settings globally on Debian system?

when running java -version I get this error: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. This is avoidable ...
0
votes
1answer
2k views

Is the Firefox browser 64-bit on Mac OS X or is the Java website inaccurate?

On the Java download page for Mac OS X, it says: Chrome does not support Java 7. Java 7 runs only on 64-bit browsers and Chrome is a 32-bit browser. If you download Java 7, you will not be ...
-1
votes
1answer
230 views

sbt - java.io.FileNotFoundException

I installed sbt following this instructions Getting Started - setup, on Ubuntu 12.04. When I run sbt I see next output: nazar_art@nazar-desctop:~$ sbt java.io.FileNotFoundException: ...
0
votes
1answer
111 views

How do I render boolean values as checkboxes from MS Access in Jtable?

I have a Field name in my database which, if inserted from JForms, is simply "Active" or "Inactive". It doesn't use the True/False data type. All I want is for that field to display as checkboxes ...
1
vote
0answers
211 views

What does java.exe do in Windows\System32

I found that java.exe file is located in Windows\System32 directory and has precedence over my selected java in Program Files directory (due to PATH components order). I have tried deleting this ...
0
votes
0answers
32 views

Hosting Jersey backend

Where can a Jersey backend written in eclipse be hosted, what are the requirements? I am using the below: /REST_JSON/WebContent/WEB-INF/lib/asm-3.1.jar ...
0
votes
0answers
194 views

Changing default Java Runtime Environment from 1.8 to 1.7

I'm currently trying to change the default JRE on my computer from 8 to 7. I was attempting to fix a glitch involving the game Minecraft by updating to the JRE8 beta build, but it seems like that ...
0
votes
1answer
368 views

ant not working on my ubuntu, command: ant -version

Following command ant -version is throwing error Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar screen shot: ...
0
votes
0answers
70 views

OSX 10.8.4 application crashed

I am trying to start a Java IDE environment (jdeveloper) on Mac OSX (v 10.8.4). When the application was loading it crashes. I looked into the log file and found the following message. How can I ...
0
votes
2answers
464 views

How do I pass a configure option to macports?

I am following directions to install JavaHL bindings for Subversion from: http://subclipse.tigris.org/wiki/JavaHL It says to run sudo port install subversion-javahlbindings +no_bdb +universal when I ...
0
votes
3answers
414 views

Running Jar with Display from Server

I have a Jar file which I would like to run on my server. When I run using java -jar MyJar.jar I get this error: No protocol specified Exception in thread "main" java.lang.InternalError: Can't ...
0
votes
0answers
220 views

chrome and firefox not allowing java vnc viewer applet to connect to remote system

I am using tight vnc java applet viewer to connect to remote system. It is working fine in IE but when loaded in firefox and chrome it is trying to connect local host irrespective of whatever IP ...
0
votes
0answers
201 views

On Retina Mac, how do I make IntelliJ render fonts like they do on jEdit?

I am on a Mac OS X 10.8.4.On IntelliJ 12.1.4 CE, my program text renders as: On jEdit 5.1pre1, the same text renders as: Both editors are configured to use Courier 16 Plain. I like the way the ...
0
votes
0answers
97 views

Java crashes computer after about 10 minutes

I'm having a problem with Java crashing my computer. I am trying to run my Minecraft server, which has worked 100% of the time before I updated my BIOS, but now my PC randomly turns off (no prompt or ...
3
votes
2answers
1k views

Better syntax highlighting for Java in Vim?

I've found Vim to have fantastic syntax highlighting with my preferred color schemes for Ruby and Python, but whenever I need to write Java code, it's like I haven't even turned on highlighting in the ...
1
vote
1answer
57 views

Change java plugin for a single user on ubuntu

I need to use a specific version of java plugin in firefox to use VPN software. I would prefer not to change the default version of java as that would affect other users of the system. To further ...
0
votes
2answers
260 views

Java Applets don't seem to work on my Windows 8 laptop

I have a new Windows 8 laptop and I went to a page that requires Java because it contains a Java Applet. I downloaded and installed Java and restarted the browser but it still does not work. I get a ...
0
votes
1answer
652 views

Debian 7 and chromium - java not working

Using debian 7, with chromium as my browser, I got jdk6-64 bit installed on my debian But my chromium won't run java applets, it's saying it's missing on each website that try to run java. How do I ...
0
votes
2answers
36 views

Make Netbeans IDE use latest VM

I've got Java 1.7.0u25 installed on my system, but according to the About dialogue, Netbeans is running under 1.7.0u17. I'm having some minor but really annoying issues such as the delete key ...
0
votes
0answers
88 views

Java in Chrome on Debian Wheezy

So what is the best way to run Java on Google Chrome through Debian Wheezy? It seems that there may be more required to just installing some packages. Also, what is the best way to install Java in ...
0
votes
3answers
48 views

How install python when java is still there on the computer?

I need to install python in my computer. I searched some articles on the internet and it says to set the environment variables as follows. set path=%path%;C:\Python27\ So the problem is that the ...
0
votes
0answers
193 views

Why will my .jar run on the terminal but not with a double-click?

I asked this back in SO, but I was told that it was most likely a problem with my machine, not my program. I've created a Java program (using the libGDX framework) with Eclipse. It exported a ...
0
votes
1answer
341 views

.deb package for Ubuntu: correct Java dependency

I'm currently in the progress of creating a .deb package of our Java-based application, especially for Ubuntu users. Our application runs with the JRE 1.6 and 1.7 from OpenJDK (openjdk-6-jre-headless ...
0
votes
1answer
61 views

.deb package for Ubuntu: detect preferred Java version

See also my related question. Our Java application runs with Java 1.6 and higher, but we prefer 1.7 (because of certain additional features). When launching it how can I detect whether JRE 1.7 is ...
-2
votes
1answer
477 views

Run Jar file on Ubuntu at system startup

I'm trying to get a .jar file to run at startup on an Ubuntu machine, but I'm not getting anywhere. I've tried the instructions here ...
0
votes
0answers
54 views

Whenever I run this program I get an error…System.NullReferenceException: Object reference not set to an instance of an object?

I am trying to run the Speech Jammer application. When I try and run it I get the following error: http://pastebin.com/zgiqbQHb How can I fix this?
0
votes
3answers
342 views

can I set an older version of java as a default for certain programs?

I have java 1.6 and 1.7 installed on my computer. I want to use 1.7 for everything except a single webapp that doesn't run on 1.7 well. Can I get some help? EDIT: On windows but I need a fix for ...
1
vote
0answers
71 views

Spanish special characters printed as garbage

I am using slackware, and trying to print Spanish characters. When I use echo *special characters* they display perfectly, but when I write a java program that accepts command line arguments, ...
0
votes
0answers
48 views

connecting a raspberry pi to a fedora and a windows 7 machine

I am not sure where i would post this question, so please do not delete this question and just guide me to where i can post this question. My question is that by buying a switch would I be able to ...
0
votes
1answer
400 views

What is the difference between an application server and php/java plus webserver?

Im having a hard time getting this terminology straight. What exactly does one mean by application server? To me it seems like a webserver with added scripting capabilities like a AMP-server or ...
0
votes
1answer
1k views

How to fix java virtual machine launcher error

Recently i accidentally downloaded and ran jar keylogger. So in fear of it stealing various of my logins i deleted my temp folder, because i had a hunch it had stored some files there for sure. Now ...
0
votes
0answers
99 views

Fedora unable to connect to MySql

While accessing MySql directly through php, I am able to connect to the database without issues. Whereas, while I try to access MySql indirectly - with the help of a jar file which connects to MySql ...
2
votes
0answers
133 views

On Windows 7 x64, how to run JDK/JRE 6 for applet, but run JDK 7 for anything else?

We intend to use JDK 7 for our development use. But there is a dumb (but critical) web applet application which relies on JDK/JRE 6 (otherwise it won't run). I only need the JDK/JRE 6 applet to run in ...
0
votes
2answers
487 views

Why can't I install Java's bin file on Ubuntu?

I have downloaded a version of JDK from the Oracle's site, the file is named jdk-6u37-linux-i586.bin. To install it on Ubuntu I made it an executable and run it: $ chmod +x jdk-6u37-linux-i586.bin $ ...