Widely-used object-oriented programming language, emphasizing portability. Questions about programming with Java are off topic and should be asked on stackoverflow.com.

learn more… | top users | synonyms

5
votes
1answer
2k views

What exactly is Java's new helper tool? Updating from Java 8 update 60 to Java update 71 on a Mac

I've looked around online and can't seem to find that much information of what Java's new helper tool is. I've found another thread here on SE but it doesn't explain that much. Is it something that ...
5
votes
3answers
13k views

Eclipse on OS X El Capitan: Version 1.6 of the JVM is not suitable for this product

I've updated to El Capitan, and now want to run Eclipse. Luna didn't work, so I downloaded the latest version, Eclipse Mars. At startup it told me to install Java 1.6. So I did, and then I get this: ...
5
votes
4answers
6k views

Command Line from within Sublime Text

I recently switched from Notepad++ to Sublime Text 2, and it's amazing. There's one thing I'd appreciate and that's compiling my files from the same environment. Sublime text has a console and a ...
5
votes
3answers
16k views

Will Window RT have a JVM?

Java is supposed to be a way to write portable programs, and one person we work with wrote some of our buisness applications in Java. Doing some prelimiary compatibility checking and it seems that ...
5
votes
1answer
15k views

Running Java 32bit and 64bit on same computer

I ran into a rather puzzling problem, trying to install Vuze 4.2.0.2 on my Windows 7. I have a Java 6 JDK 64bit, but Vuze complains that it can't find a correct 32bit JRE. Yet, as far as I know it ...
5
votes
3answers
13k views

Problem with remoted display of java applications

I'm trying to remote display Java based development environments, such as NetBeans and IntelliJ, from a linux machine to a windows machine. When I do this, the right click functionality of the ...
5
votes
2answers
10k views

How to add Java System Runtime Parameters?

I'm given the following instructions: You must set the sun.lang.ClassLoader.allowArraySyntax system property to true by adding the following to the JVM arguments: -Dsun.lang.ClassLoader....
5
votes
3answers
2k views

java.exe -version and pushd?

I have noticed that when I run the following command Pushd \\RemoteMachine\C$ && java.exe -version I get the java version of the computer I am on. However when I run the pushd command with ...
5
votes
3answers
3k views

Java sound doesn't work under Linux

I just installed Fedora 12 and after downloading and running the Java Sound Demo I get exceptions. If I run just a vanilla Java program that plays a .wav file it runs silently with no sound and no ...
5
votes
3answers
596 views

jEdit slow on Linux

Jedit is a great text editor, and I love that it is truly cross-platform. I usually use it on windows and just recently spent a long while working on some stuff on my linux box and noticed a large ...
5
votes
2answers
10k views

Is there a way to increase the default font size for Java GUI applications?

Is there a way to increase the default font size for Java GUI applications? I am using someone else’s custom Java tool (no, I do not have the source) to perform text annotation for a research project....
5
votes
4answers
25k views

Import Java Trusted Certificate to JRE

I need to install a certificate from a Java app to a lot of people. I want to use a one click program or batch file to import it as a Trusted Certificate(in Control Panel->Security->Certificate). Then ...
5
votes
1answer
4k views

How to Kill Java Process in Windows, without killing java.exe through command line?

I need to kill the process activemq-all-5.5.1.jar(....\app-launcher\target\lib\activemq-all-5.5.1.jar). I use taskkill /im java.exe, but it kills all other applications related with java. I need to ...
5
votes
1answer
25k views

How do I update Java from a non-admin account?

On Windows 7, the JVM interferes with my work by bringing up a UAC prompt at random times when it notices that it needs an update. I can see how this nagging makes sense, so I type in the admin ...
5
votes
2answers
22k views

Error: could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit

Pre-note: This is not a problem I am having with Minecraft. All answers I can find seem to be related to Minecraft. Error: could not create the Java Virtual Machine. Error: A fatal exception has ...
5
votes
6answers
25k views

Windows 7 unable to launch java control panel

whenever I click on java control panel, nothing happens. I did C:\Windows\System32>control java.cpl still nothing happens. I installed Java 6 update 24(the latest update), did not help. how do I ...
4
votes
7answers
15k views

Unable to install Android for Windows 7 because JDK is not found

I have JDK SE7u4 installed in windows 7. I tried to install Android on Windows 7 using the installer_r18-windows.exe but no avail. The setup window showed the message saying that the Java SE JDK not ...
4
votes
2answers
12k views

Java 7 update 6 installation fails on Windows 7 when Chrome is default browser

I am configuring a brand new Lenovo U410 system with Windows 7 Home Premium for a user. I received the system direct from the shop. As part of the configuration I installed Java using the online ...
4
votes
2answers
20k views

How to know the JVM path in a Linux system?

I want to copy some files in the subdirectories of the JVM path , java is already installed. How to know the JVM's path ?
4
votes
4answers
9k views

Java not detected by browser

I have java installed on my computer, but none of my browsers seem to detect it a and I'm not able to run any applets. (Trivial, as it may seem) I've wasted a lot of time googling and trying to ...
4
votes
5answers
14k views

Why there is no sun-java in Debian Wheezy and how can I fix this?

Sun's java is in Debian Lenny and Debian Squeeze repos (non-free) but no in wheezy1,2. Why? edit: after further research I found that java has been removed. reson: ROM; security issues and newer ...
4
votes
2answers
11k views

How to check Java version remotely

How can I check the Java version installed on a remote computer that I can't remote on. It's being used by someone so I can only check by \\computer-name\c$... Thank you!
4
votes
3answers
13k views

Java issue (nonexistent Java Runtime)

I'm currently having an issue with playing Minecraft. I played Minecraft perfectly before I had an issue with my computer. Now when I open the minecraft.exe file (or try to open Java itself from the ...
4
votes
3answers
17k views

How can changes to Java Control Panel settings be saved?

I've just downloaded the latest JRE on a computer running a clean install of Windows 7. Now I want to do three things: disable automatic updating remove the icon from the system tray reduce the ...
4
votes
3answers
6k views

In what directory should I install Jetty on Ubuntu Linux?

I've downloaded jetty-6.1.14.zip into my home directory on my Ubuntu 8.04 box. Where is the appropriate place to unzip it? I put it in /opt because /opt is supposedly for "storing random data that ...
4
votes
2answers
14k views

How do I remove Java in Debian?

java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) There doesn't seem to be an easy ...
4
votes
3answers
239 views

Java installed, but “java -version” showed nothing, why?

I just bought a Win 7 PC, installed jdk1.6 and Netbeans, NB works fine, but when I did "java -version" in a command prompt, it can't find java, why ? How to fix it ? Edit : I thought the installation ...
4
votes
1answer
5k views

Arbitrary code folding in Eclipse?

I know that we can fold methods,if statement and ... .But I want to fold arbitrary part of code that is written in a method.I guess that in NetBeans we can do this: // <editor-fold desc="describe ...
4
votes
2answers
384 views

How do I toggle Java on/off in Safari browser?

In Safari preferences there is an option to disable Java which is nice but a bit cumbersome. Is there a plugin/addon/extension or an easy way to toggle Java on/off?
4
votes
1answer
631 views

Will the Java 7 JRE be pushed out as an automatic update to people running the Java 6 JRE? [closed]

I believe a precedent for this must exist... when the Java 6 JRE was released, were users of the Java 5 JRE automatically updated to Java 6 JRE? Or to put it another way, are automatic update capable ...
4
votes
2answers
9k views

Performance OracleJDK or OpenJDK

I am forced to using Java on my server and I am having a headache installing Java. I have an automated deployment script which installs the software and needs to be run to reinstall the server ...
4
votes
2answers
5k views

Silent Java update check

How to have automatic Java updates without jusched.exe process running all the time in the background and with control when a check for the update should occur?
4
votes
2answers
3k views

Streaming Desktop using FFMPEG in windows

How to stream Desktop using FFMPEG in windows?? I have tried ffmpeg -list_devices true -f dshow -i dummy and after that this to stream ffmpeg -f dshow -i video="Chicony USB 2.0 Camera" -r 30 -...
4
votes
1answer
3k views

Windows' “open with” with java and a jar file

I use the rest-client to test REST APIs. It is basically just a .jar file, that is called via java -jar rest-client.jar. The rest-client uses two file extensions, in my case .rcq, to store data in ...
4
votes
3answers
2k views

Netbeans 8.0 - IDE Updates Fail

The Problem When I start Netbeans, it tells me that 21 updates have been found, and I have clickable action to update the IDE: The install fails and gives me these messages: What I've Tried ...
4
votes
2answers
5k views

How to enable Java Quick Starter (JQS) on Windows 7

I remember that Unix (Sun blades and Linux) did launch java apps instantly, especially if we compare to Windows. This was cool but now I call a java utility millions of times per second in the batch ...
4
votes
1answer
2k views

Jabref will not start

When trying to start jabref, I see the following error WARN No appenders could be found for logger (org.java.plugin.ObjectFactory). log4j:WARN Please initialize the log4j system properly. Oct 31, ...
4
votes
2answers
3k views

Revocation Information for this security certificate for this site is not available

I will randomly get a security alert window with a java logo that says the above, even if I'm not browsing the internet (I suspect java's auto-update or a number of other auto-updates for security ...
4
votes
1answer
2k views

Java Plugin a huge security risk? How to preseve Java plugin from privilege escalation?

Installing a regular Java plugin is IMHO a real security risk for non-IT people. Normally Java applets run in a sandbox and the applet cannot do anything harmful to your computer. If an applet, ...
4
votes
2answers
578 views

Good operating system/virtualization layer combination for running dual screen with XP in a vm instance?

I have a situation where my work computer has Outlook+Lotus Notes with draconian protection. Unfortunately this means that Eclipse development (meaning zillions of small files) gets very slow. I now ...
4
votes
1answer
545 views

“Load average” stuck on 7.0

I'm using gentoo and anytime I do uptime, my "Load average" is stuck at 7.0 across the board. When using top or htop or dstat the CPU usage is always idle. The computer is used to run a Java program ...
4
votes
3answers
2k views

Deleted JavaVM.framework, how to restore?

I accidentally deleted /System/Library/Frameworks/JavaVM.framework, and now i can't use any command like java, javac, etc.. even if i have java installed. So someone know how to restore this folder (...
4
votes
1answer
8k views

Why does limiting my virtual memory to 512MB with ulimit -v crash the JVM?

I am trying to enforce maximum memory a program can consume on a Unix system. I thought ulimit -v should do the trick. Here is a sample Java program I have written for testing : import java.util.*; ...
4
votes
1answer
905 views

How do I combine multiple java buttons into a pile on the taskbar?

Does any one know how to have open java windows stack in the windows taskbar? I'm running a few (20) java apps and they don't combine therefore taking up loads of room on my task bar. Taskbar ...
4
votes
4answers
24k views

Launch jar files on 64 bit java in Windows 7

I wanted to run java programs on a 64 bit Windows 7 computer and I have a 64 bit Java VM. How do I launch the jar files via command line ? It seems that 64 bit Windows 7 have a seperation between 32 ...
4
votes
5answers
7k views

How can I find non-ASCII characters in text files?

Is there a tool that can scan a small text file and look for any character not in the simple ASCII character set? A simple Java or Groovy script would also do.
4
votes
2answers
476 views

2 Java updates needed?

The picture below is a cropped snapshot of the programs and features section of my control panel on windows 7. Notice I have 2 Java things (Update 22 and Update 24). Is this needed, or can I ...
4
votes
1answer
2k views

Java stopped working, javaw.exe at 100% CPU

Windows XP 32bit. Working fine for a long time. Recently, everything related to Java stopped working. Even the Java app in the Control Panel is not working anymore. Whenever anything Java-related is ...
4
votes
1answer
13k views

How to install Sun's JDK on CentOS?

I having difficult time installing Sun's JDK on CentOS. The default installing with "yum" is "openJDK", but I need to install Sun's JDK. Is there easy instruction out there I can use or any ...
4
votes
1answer
2k views

Windows 8 and Oracle Java JDK 7u9 - “This application is not compatible”

I have never seen this error on WIndows 8 so far, that's why I'm asking for help here. First of all, I managed to install JDK 7u7. The installer worked like a charm, and my Java applications run too. ...