Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 19, 2013, 12:20 PM   #1
MatthewAMEL
macrumors 6502
 
Join Date: Oct 2007
Location: Orlando, FL
Java 1.7 not recognized

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?
MatthewAMEL is offline   0 Reply With Quote
Old Apr 19, 2013, 12:41 PM   #2
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
My folder is not empty


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.
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Apr 19, 2013, 02:13 PM   #3
stchman
macrumors 6502a
 
Join Date: Jul 2012
Location: St. Louis, MO
Send a message via AIM to stchman Send a message via Yahoo to stchman Send a message via Skype™ to stchman
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.

----------

Quote:
Originally Posted by maflynn View Post
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.
stchman is offline   0 Reply With Quote
Old Apr 20, 2013, 06:34 AM   #4
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
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
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Apr 20, 2013, 08:34 AM   #5
SlCKB0Y
macrumors 68020
 
Join Date: Feb 2012
Location: Sydney, Australia
Quote:
Originally Posted by maflynn View Post
My point is your going outside the accepted method to install java
Is it? I thought that the 'correct' way to get Java now was direct from Oracle?

Apple even mentions it here: http://support.apple.com/kb/HT5559
SlCKB0Y is offline   0 Reply With Quote
Old Apr 20, 2013, 08:40 AM   #6
maflynn
Moderator
 
maflynn's Avatar
 
Join Date: May 2009
Location: Boston
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.
__________________
~Mike Flynn
maflynn is offline   0 Reply With Quote
Old Apr 21, 2013, 08:40 PM   #7
MatthewAMEL
Thread Starter
macrumors 6502
 
Join Date: Oct 2007
Location: Orlando, FL
Quote:
Originally Posted by maflynn View Post
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.
MatthewAMEL is offline   0 Reply With Quote
Old Apr 25, 2013, 02:17 AM   #8
canyonlight
macrumors member
 
Join Date: Sep 2011
Location: 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?
canyonlight is offline   0 Reply With Quote
Old May 1, 2013, 09:19 AM   #9
xgman
macrumors 68040
 
Join Date: Aug 2007
I use little snitch to permanently deny connections to java.
__________________
{2014 27" r-imac-4.0i7-295x-32gb ram-1TBSSD+External TB enclosure>Samsung840evo ssd + Segate Enterprise 5TB-UAD Apollo/Marantz/Amphion/Bowers&Wilkins Sound-Impulse 61}
{ipads}{iphones}{LG G3}
xgman is offline   0 Reply With Quote
Old May 1, 2013, 03:20 PM   #10
dyn
macrumors 65816
 
Join Date: Aug 2009
Location: .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....
dyn is offline   0 Reply With Quote
Old May 3, 2013, 07:36 PM   #11
canyonlight
macrumors member
 
Join Date: Sep 2011
Location: 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?
canyonlight is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Some apps prompt to install Java 6 even when Java 7 is installed MacMan988 OS X Mavericks (10.9) 1 Apr 18, 2014 07:56 AM
Java 6 or Java 7 for OSX Mavericks for your Macbook Pro? Starfyre MacBook Pro 3 Dec 22, 2013 03:49 PM
Java 6.x security risk (?) vs Java 7.x and broken apps w/ v7.x installs? mgiamo Mac Basics and Help 1 Dec 15, 2013 03:48 PM
Chrome on OS X -- Java plugin / Java 7 vs Java 6 Issue booyahbooyah Mac Applications and Mac App Store 4 May 31, 2013 09:13 AM
Installed Java 7.07 but doesn't show up in Java preferences? -mattias- OS X 10.8 Mountain Lion 21 Aug 31, 2012 04:49 PM

Forum Jump

All times are GMT -5. The time now is 10:23 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC