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

learn more… | top users | synonyms

6
votes
1answer
2k 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 ...
21
votes
4answers
16k 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 ...
26
votes
2answers
33k 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 ...
5
votes
3answers
3k views

Java - version 1.7.45 - and Mavericks

Chrome refused to run a java app unless i upgraded to .45, which I did my dling the installer from oracle. Java 7 u45. Installer said it worked. Chrome still won't start java. $ which java ...
8
votes
2answers
9k 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 ...
10
votes
7answers
36k 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
598 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
7k 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 ...
10
votes
3answers
2k views

How safe is it for me to install Java on OS X 10.8

I know very little about how Java works and its interactions with OS X, so I'm partly looking for an expert and simple description on how Java works on the Mac, and why so much press includes "fear, ...
31
votes
3answers
37k 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 ...
8
votes
2answers
8k 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
7k 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 ...
9
votes
4answers
25k 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 ...
7
votes
3answers
11k 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 ...
6
votes
1answer
4k 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 ...
4
votes
1answer
3k 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, ...
2
votes
3answers
15k views

How do I set environment variables on OS X?

I have always difficulties setting the environment variables on Mac like JAVA_HOME, M2_HOME or PATH. How to set these on Mavericks OS X? I did some research but the answers I've found didn't really ...
5
votes
3answers
15k 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
161 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. ...
2
votes
3answers
14k views

Developing iOS apps on Windows 7

Please read my question fully, I searched many questions but that doesn't answer my question fully. We are planning to develop an iOS app using PhoneGap, so we have also purchased $99 Developer ...
1
vote
1answer
57 views

Using Oracle Java 7 without the plug-in

I need Oracle Java 7 for software running on my Mac, but do not wish to have the plug-in available in my web browsers. How can I accomplish this configuration and maintain it across Java upgrades?
1
vote
1answer
480 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 ...
1
vote
1answer
1k 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
4k 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 ...