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

learn more… | top users | synonyms

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 ...
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 ...
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 ...
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, ...
10
votes
2answers
29k views

How do I install JDK 1.6 in Mavericks?

When I upgrade to Mavericks, it uninstalls Java 1.6. I can install Java 7, but for some applications and development work, I still need access to Java 6. How can I reinstall Java 6 in Mavericks? ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
7
votes
2answers
10k views

Java Plugin for Chrome on OS X Mountain Lion 10.8.2

I'm trying to use webex in Chrome. To click on webex links, I need the java plugin. However, it appears that a recent OS X Mountain Lion update removed the java plugin from my computer. When I try ...
7
votes
2answers
2k views

How can I completely remove Apple's Java 6 and make Oracle's Java 7 default for everything?

I would like to completely remove Apple's Java 6 and make Oracle's Java 7 default for every program. For example, with Eclipse I had to fiddle with eclipse.ini to specify JAVA_HOME for Java 7, and the ...
7
votes
1answer
3k views

System proxy settings inaccessible by Java, Firefox, VMware Fusion, etc.?

I'm stuck on what appears to be an issue with the accessibility of system proxy settings by other programs. I came across this problem while trying (and failing) to run Processing-generated Java ...
6
votes
3answers
15k views

“Minecraft” is damaged and can't be opened on Mountain Lion

I'm trying to run Minecraft on Mac OS X Mountain Lion. I downloaded the zip file (link here) from minecraft.net and unzipped it. Double clicked on the icon and it tells me, "Minecraft" is damaged ...
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 ...
6
votes
3answers
13k views

Installing 64-bit java on Mac OS X Lion?

When playing Minecraft 1.0, a java-based game, when I switch the rendering options to "Far", the game shows a message saying that memory usage for the game might be too high in Far rendering mode, and ...
6
votes
2answers
1k views

Java 7 JRE Not Detected on Clean Install of Mountain Lion

I know there similar questions on how to enable the Java 7 JRE on Mountain Lion when Apple's Java 6 JRE is installed as well. But I just did a clean install of Mountain Lion, installed Java 7 JRE - ...
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 ...
6
votes
2answers
365 views

Installer of Oracle jdk-7u45-macosx-x64 hangs on Mavericks

I want to install Java 7 on my Mac which was updated to Mavericks. I downloaded the jdk package from here and after starting the installer I exactly to this point Pressing now Install does nothing ...
6
votes
1answer
399 views

Why is Java virtual memory reservation so high? Bug?

On my Mac Os 10.5.8 Server, Java is reserving 16,777,216TB (about a third more then the sum of all human knowledge -eek!) of virtual memory. I know it's not really reserving this (it would be pretty ...
5
votes
6answers
8k views

Java and Mac retina support

Does Java support the retina display with high definition rendering of, for example, text? Or is it treated as an unmodified application, and therefore subject to scaling?
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 ...
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 ...
5
votes
1answer
6k views

Does Mountain lion download Apple's JDK or the OpenJDK when attempting to load a Java app?

When you first try and load a Java application (eclipse, run mvn commands etc) Lion prompted you to download a JRE/JDK. From my understanding this is still Apple's version of Java and not OpenJDK. ...
5
votes
1answer
1k views

How to install Java 7 next to Java 6?

I am using a MackBook Pro with Mac OS X 10.8.2. I currently have Java 6 installed: wdb-laptop:~ wdb$ java -version java version "1.6.0_37" Java(TM) SE Runtime Environment (build ...
5
votes
1answer
587 views

Error with MATLAB

I regularly use MATLAB from the command-line instead of launching the full graphical user interface. Ever since I made the last update of OS from 10.7.3 -> 10.7.4, I started getting the following ...
5
votes
1answer
6k views

Make Minecraft (or Java Preferences.app) run on Java 7

Minecraft (and probably some other applications) won't run on a System with the preinstalled Java removed and the current JDK 7 installed. I already symlinked the Java 6 directory to the current one. ...
5
votes
2answers
7k views

Why does Java SE 6 Web Start (javaws) not find the JRE with Apple's Java for OS X 2012-006 on Mountain Lion?

In brief The JRE is installed but javaws can not find the JRE. What can I do on the command line to re-enable the web plugin for Apple's Java 6 in Chrome or Safari? I want to avoid Java 7. (We're ...
5
votes
2answers
1k views

How do I uninstall Java?

I have several Java installations on my machine: $ /usr/libexec/java_home -V Matching Java Virtual Machines (6): 1.6.0_24-b07-334, x86_64: "Java SE 6" ...
4
votes
7answers
501 views

Java developer planing to buy Mac

I'm mostly a Java developer and have been developing on Linux for the past 5 years. I'm pretty happy with Linux but time to time I need to run proprietary software that is not supported on Linux so ...
4
votes
3answers
5k views

Why is Java consuming 100% CPU on my machine?

I have an iMac (early 2010) running 10.7.2 but the problem has been seen on 10.6.x also. The symptom is simple, one of my 2 cores is sitting at 100% utilization with the Java process responsible for ...
4
votes
3answers
495 views

Can a standalone JDK 1.5 run on Snow Leopard?

There's a bug in JDK1.6 in Snow Leopard that's affecting Netbeans. I could solve this issue by using JDK1.5, but I noticed that /System/Library/Frameworks/JavaVM.framework/Versions/1.5 links to ...
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, ...
4
votes
1answer
492 views

How can I prevent java processes from stealing focus?

Has anyone else noticed that command line java applications in OS X create GUI processes that steal focus (ie, groovy, maven sub processes)? I'm finding it extremely annoying; probably because I've ...
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 ...
4
votes
1answer
3k views

Where is “jvisualvm” in Mountain Lion

Just upgraded to Mountain Lion (of course). I use Java on a daily basis so I asked Mac OS X to install it right away. It installed "Java 6". I am more than OK with it. The only thing I don't have is ...
4
votes
1answer
286 views

Is there a way to enable Java only for specific applications?

I know that it is possible to completely disable Java in OS X, and to disable its use from within a given browser. I use just one or two applications that require Java, and would like to enable it for ...
4
votes
2answers
1k views

“Accept incoming network connections” issue

Due to some graphic and/or code based changes, within programs like Dropbox, iTunes, jDownloader etc. (but mostly Java-based applications), the built-in firewall keeps asking for verification. ...
4
votes
1answer
374 views

SIGSEGV when trying to install Java EE SDK 7 on OS X Mavericks

I tried to fresh install Java EE SDK 7 Update 45 on OS X 10.9.1 I did export DISPLAY=:0 then sudo ln -sf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java /usr/bin/java ...
4
votes
1answer
665 views

Install Older Versions of Java on OSX 10.8.1

I have a MacBook Pro Retina, running 10.8.1 and Java 1.6.0_35 I need to install some older versions of Java in order to track some bugs that my customers are seeing on older versions of Java. I ...
4
votes
2answers
9k views

How do I turn a folder into a .jar file?

I currently have modified a program that is a .jar file. I had unarchived it and turned the .jar file into a folder so that I could edit it. Now all I need to do is change the folder back into a .jar ...
3
votes
4answers
3k views

How can my company get our custom Java software to run on the iPad?

I have small company and we have custom software that is written in Java. I am planning to buy a tablet. Originally I intended to get an Android tablet, but I am really impressed by the resolution ...
3
votes
4answers
11k views

How do increase font size of Eclipse globally?

I'd like to know how to increase the font size for Eclipse so it adjusts the whole GUI to not look so darn small on my screen. For NetBeans there is the --font-size switch which can be set in ...
3
votes
2answers
580 views

Does Java come pre-installed on Mac OS X 10.7/10.8 and beyond?

Does Java (the JDK) come pre-installed with Macs on OS X 10.7/10.8 and beyond? I am hearing Apple is going to stop shipping Java with 10.8 and beyond but I couldn't find any link to confirm it/deny ...
3
votes
1answer
7k views

How to get Java 6 in OS X 10.8 (Mountain Lion)?

OS X 10.8 removed Java 6 and the Java Utilities switcher and made Java 7 the default jre making it hard for engineers like me who work exclusively on Java 6. How do I get back my Java 6? Note: I tried ...
3
votes
7answers
23k views

How to get Java applets working with Chrome?

I use Gotomypc which is either a Java applet or an App. The Gotomypc applet will launch under Firefox or Safari but not Chrome. When I launch the app under chrome I get the yellow status bar at the ...
3
votes
3answers
821 views

Did the Java 1.6.0_31 update fix the Flashback trojan problem?

Is the recent Java update of OSX (Java for OS X Lion 2012-002) to 1.6.0_31 also a bug fix for the Flashback malware? The update is described here as: Multiple vulnerabilities exist in Java ...
3
votes
3answers
7k views

How do I downgrade Java on OSX 10.6.8?

Software Update recently updated Java with update 6, for my 10.6.8 installation. My problem is that my bank here in Costa Rica uses a dated version of Java, and now my version of Safari (5.0.5) acts ...
3
votes
1answer
5k views

Open in Low Resolution checkbox on Retina MacBook Pro checked and disabled

On a Retina MacBook Pro some Java applications (such as IDEA 11.1.3 that is supposed to support it) won't run in HiDPI mode. When I got to "Get Info" on the app, I can see that the "Open in Low ...