Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MatthewAMEL

macrumors 6502
Original poster
Oct 23, 2007
381
13
Orlando, FL
Greetings, all.

Stumped here with a Java problem.

I recently installed JRE1.7u21 from Oracle.

Now, when I use any Java app (crashplan) or type 'java -version' in Terminal, it tells me there is no Java runtime installed.

In System Preferences, 'Java' is there and tells me it's version 7, update 21.

Any ideas?

BTW- I just noticed that my /System/Library/Java/JavaVirtualMachines folder is empty. Shouldn't there be something there?
 

maflynn

macrumors Haswell
May 3, 2009
73,682
43,740
My folder is not empty
jdk.png


Doesn't apple provide the java download for OSX? I think you may get yourself in deep weeds installing Java outside of what is expected.
 

stchman

macrumors 6502a
Jul 16, 2012
671
2
St. Louis, MO
I downloaded the Java 7u21 and when I type java -version in a terminal I get the proper version.

Maybe try re-installing Java 7.

----------

My folder is not empty
Image

Doesn't apple provide the java download for OSX? I think you may get yourself in deep weeds installing Java outside of what is expected.

Apple does not support Java 7.
 

maflynn

macrumors Haswell
May 3, 2009
73,682
43,740
Do you need java 7, will to certified i.e., supplied version fit your needs

My point is your going outside the accepted method to install java

Good luck
 

maflynn

macrumors Haswell
May 3, 2009
73,682
43,740
At one point they did mention it, but then like the article you linked to guide you to re-use the apple provided java.

I'm not saying the OP shouldn't use it, just that going outside the accepted means may cause issues.

Apple seems to be supporting java insofar as continuing to provide updates, rather then directing people to go to oracle.
 

MatthewAMEL

macrumors 6502
Original poster
Oct 23, 2007
381
13
Orlando, FL
Do you need java 7, will to certified i.e., supplied version fit your needs

My point is your going outside the accepted method to install java

Good luck

The 1st line of the Apple KB article says
If, after installing Java for OS X 2013-002 and the latest version of Java 7 from Oracle, you want to disable Java 7 and re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality, follow these steps.

Doesn't sound like 'outside the accepted method'.

I re-installed Java 1.7 many times. At no time did it populate the VirtualMachine directory.

I finally copied over the contents of the directory from my MBP and then re-installed 1.7.

After that, Java works and reports the correct version. Java installation and updating is seriously broken on OS X.

It appears that the 1.7 JRE installer doesn't actually install a JVM. It simply updates the plug-in.
 

canyonlight

macrumors member
Sep 3, 2011
67
11
Arizona
Still Puzzled

Then what should I do if I have twice tried to install the Java for OS X 2013-003 1.0 update to my early 2013 rMBP running OS X 10.8.3.

On both occasions after the update install a flashing window starts appearing asking if I wand to allow "java" to accept incoming network connections. The window flashes off so fast that neither button can be clicked.

On both occasions the only way I could stop this behavior was to restore the computer to the state where it was prior to the attempted update install using SuperDuper and a backup.

Does anybody understand what is going on and how it may be resolved?
 

xgman

macrumors 603
Aug 6, 2007
5,697
1,425
I use little snitch to permanently deny connections to java.
 

dyn

macrumors 68030
Aug 8, 2009
2,708
388
.nl
In order for the commandline one to work you need to install the JDK, not the JRE. The JRE is fine if you only require Java in your webbrowser.

Unfortunately the location of Java has been changed with 1.7. There still are some apps that look for Java in the old location, they can't find it and thus OS X prompts you to install Java. Hit ok and it'll install Java 1.6. So much for Apple not providing Java in ML any more....
 

canyonlight

macrumors member
Sep 3, 2011
67
11
Arizona
Chronic Java Confusion

Does anybody know exactly what we're supposed to do to correctly download and install Java (JDK or JRE, and where is the correct download link?) and then how to find and add the correct item in the firewall?:confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.