Java, the cross-platform programming language created by Sun Microsystems and now owned by the Oracle company

learn more… | top users | synonyms

3
votes
1answer
1k views

Why does the version of Java verified by Oracle differ from the version shown at the command line?

Questions Why do versions differ? Should we trust Oracle's verification routine? In some cases, the version verified by Oracle is different from the version shown at the command line. Example ...
23
votes
2answers
29k views

Uninstalling Java on Lion

I recently installed the Java runtime (through Software Update) and enabled the Java browser plug-in and WebStart on Lion, but I don't need them anymore. Unchecking "Enable Java" in Safari ...
9
votes
5answers
24k views

Mountain Lion 10.8.2, Java Preferences has disappeared

I just installed the latest Java update from apple (Java for OS X 2012-006) and I was looking to have a look at what's going on with my java(s) with Java Preferences app (which used to live in ...
8
votes
2answers
370 views

Is there a way to determine what application wants Java installed?

After upgrading to Mountian Lion on both my MacBook Air and my wife's MacBook Pro, I recieved a prompt asking to install Java (I did not get this on my iMac). I was wondering what triggered this ...
4
votes
2answers
4k views

How to reinstall Java 6, for development for Android, on Mountain Lion?

Requirement Java 6 for Android development on Mountain Lion. Question Is it possible? What can I do? I've looked everywhere for a way to do this and am unable to find any solution. Background ...
0
votes
2answers
289 views

Reasons to prefer Java 8 early access (instead of both Java 6 Update 37 and Java 7 Update 9 ) for the JRE (but not the Java applet plug-in) [closed]

@ThorbjørnRavnAndersen asked: Any reason you've installed Java 8 early access?
24
votes
3answers
22k views

Mountain Lion with Java 7 only

I performed a clean installation of Mountain Lion and installed JDK7. java -version in Terminal returns java version "1.7.0_05" correctly, still Java Preferences and some other Java programs (such as ...
12
votes
3answers
7k views

How can I switch between the two Java versions in Mountain Lion now that Java Preferences is gone?

I have two versions of Java installed with Mountain Lion: Apple's Java 6 Update 37 (Java for OS X 2012-006) Oracle's Java 7. The update from Apple removes Java Preferences. In another question ...
7
votes
2answers
5k views

How can I circumvent XProtect and re-enable Java Applets?

So, Apple has again updated their XProtect malware definitions to block Java Applets. Unfortunately, my wife's employer's VPN requires an Applet to be run in order to fully establish connectivity. She ...
2
votes
2answers
5k views

Re-Enable Apple Java 6 SE from Command Line?

So, I broke Java Preferences.app. I'm on Mountain Lion. I had Java 6 SE (the Apple-distributed JDK/JRE) and Oracle's Java 7u10 preview. Trying to get a stub app to launch with Java 7, I unchecked the ...
4
votes
2answers
2k views

How do I run a jar when I double-click it?

So, I double click on my jar file and it just blinks a window with white screen then it disappears. After that, I right-click and select "Open with jar launcher" it is the same. too. I opened up ...
7
votes
4answers
17k views

Multiple Java versions support on OS X and JAVA_HOME location

I know is possible to have multiple versions of Java on OS X but i find it difficult to understand how it works. I upgraded to Mountain Lion and now echo $JAVA_HOME is empty. However in ...
6
votes
3answers
10k views

Enabling Java 7 on Mountain Lion

The first time I tried to use Java on Mountain Lion, it installed automatically. Unfortunately, it installed Java 6, so I installed Java 7. If I navigate to Java in System Preferences, only Java 7 is ...
5
votes
1answer
3k views

Uninstall Java Mountain Lion

How do I completely uninstall Java from Mountain Lion? I wanted to run Minecraft so I followed the system promps and I think I installed Java 7 and then Java 6. I couldn't get Mincraft to work for ...
5
votes
3answers
6k views

How do I enable Java Web Start for ASDM Launcher (Cisco ASA management) in Mountain Lion?

I've been trying to get my Cisco ASA management software working and on Snow Leopard, it ran fine. However, even after installing Java manually on Mountain Lion (on my new Macbook Pro), I continue to ...
0
votes
0answers
106 views

Which browsers with an integral Java runtime environment (JRE) can run that JRE on Mountain Lion?

I know that some old Netscape products included a Java runtime environment (JRE). (I'm not sure where to download the most recent app with that integration, I'll continue to look. ...
3
votes
1answer
1k views

What is trying to launch 'java' on my Mac OS X Mountain Lion [duplicate]

Possible Duplicate: Is there a way to determine what application wants Java installed? I recently installed OSX Mountain Lion and as you know, the default install removes any java VM, ...
1
vote
1answer
535 views

How do I increase the heap size for Netbeans and any app run via Netbeans?

I'm trying to run a well-coded algorithm that tries to solve an NP-Hard problem via NetBeans but I'm running out of heap space. Is the heap space I'm running out of specific to Netbeans? If so: how ...
1
vote
3answers
3k views

Can't open Java Preferences with Oracle Java 7 installed

I have both Oracle Java 7 and Apple Java 6 installed. Apple Java 6 is disabled in Java Preferences. Now, when I try to launch Java Preferences I get a "Cannot launch "Java Preferences - No compatible ...
0
votes
1answer
155 views

How to reenable Java Preferences

After installed JDK7, I disabled Java 1.6 in Java Preferences. Then I found the system cannot launch jars by new JDK 1.7, so I want to reenable 1.6, but I cannot relaunch preference again, it told me ...