Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.7: Enabling Java Apps
If Java won't run under Lion for you, a solution to this 'problem' may be as simple as enabling a Java VM. By default, Java is disabled (and probably not even installed) in 10.7.

Try the following:

Go to Applications » Utilities and open the Java Preferences.app.

Make sure the checkbox at the top is 'checked' in order to enable Java in Lion. If Java is not already installed, you may be asked to do so first.

[crarko adds: When I did this I was asked to download the Java VM using Software Update. It appears to have become an optional install, like Rosetta was with Snow Leopard. It also looked like this was still the Apple Java VM, and not an Oracle-produced version, although I can't say so for certain.]
    •    
  • Currently 3.60 / 5
  You rated: 4 / 5 (10 votes cast)
 
[44,196 views]  

10.7: Enabling Java | 6 comments | Create New Account
Click here to return to the '10.7: Enabling Java' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Enabling Java
Authored by: mjparme on Aug 18, '11 08:07:16AM

Another way to install Java on Lion is to go to the command-line (Terminal) and type "java". If java isn't installed it will prompt you to install it (via Software Update).

The installed version is Apple's Java 1.6 VM. Oracle will provide Java for Mac starting with Java 1.7 (which was just recently released for Windows and Linux). Java 1.7 isn't yet available for the Mac but supposedly will be "soon". Also supposedly, future versions of Java will be release for all three platforms at the same time by Oracle.



[ Reply to This | # ]
10.7: Enabling Java
Authored by: mbenchoff on Aug 18, '11 08:52:47AM

On the dozen or so Macs I've upgraded to Lion, when you launch a Java app for the first time you're told that Java first needs to be installed. Click a few buttons and Lion downloads and installs the Java VM for you.



[ Reply to This | # ]
10.7: Enabling Java
Authored by: ctwise on Aug 18, '11 08:56:17AM

Lion doesn't have Java installed by default. If you upgrade a system to Lion, it will actively remove the existing Java installation. However, Lion will automatically download Java if you attempt to run any Java applications.

The Java installed is still the Apple Java. The Oracle version isn't even ready for beta yet but will probably have a developer-only release by the end of the year. You can probably expect the Oracle Java version to be ready for end-users by 2nd quarter of next year.

Once it is finally released, the Oracle version is slated to be a first class release, meaning new versions of Java will come out simultaneously for Windows, Linux and OS/X. That's the whole point of Apple ceding control, they weren't devoting the developer resources necessary to keep up to date on Java releases.



[ Reply to This | # ]
10.7: Enabling Java
Authored by: Sutpen on Aug 19, '11 12:06:39AM

That's odd, I don't remember being prompted to download any Java software after the Lion upgrade; but in Utilities, I found the "Java Preferences Version 14.03 Java 6 Standard Edition Copyright 2004-2011 Oracle and/or its affiliates".



[ Reply to This | # ]
10.7: Enabling Java
Authored by: hkwin on Jan 17, '12 12:45:24AM

THANK YOU! worked like a charm!



[ Reply to This | # ]
10.7: Enabling Java
Authored by: hghowe on Jul 13, '12 09:25:57PM

Very helpful solution. Thank you!



[ Reply to This | # ]