Java 1.7 not recognized

Discussion in 'OS X Mountain Lion (10.8)' started by MatthewAMEL, Apr 19, 2013.

  1. macrumors 6502

    MatthewAMEL

    #1
    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?
     
  2. Moderator

    maflynn

    Staff Member

    #2
    My folder is not empty
    [​IMG]

    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.
     
  3. macrumors 6502a

    #3
    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.

    ----------

    Apple does not support Java 7.
     
  4. Moderator

    maflynn

    Staff Member

    #4
    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
     
  5. macrumors 68030

    SlCKB0Y

    #5
    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
     
  6. Moderator

    maflynn

    Staff Member

    #6
    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.
     
  7. macrumors 6502

    MatthewAMEL

    #7
    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.
     
  8. macrumors member

    #8
    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?
     
  9. macrumors 68040

    xgman

    #9
    I use little snitch to permanently deny connections to java.
     
  10. dyn
    macrumors 68000

    #10
    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....
     
  11. macrumors member

    #11
    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:
     

Share This Page