2 Replies Latest reply on Apr 11, 2013 6:19 AM by 945789

    Java 7 (1.7.0_17) installation problem on Mac OSX

    945789
      Hi,
      I tried to install jdk-7u17-macosx-x64.dmg from the oracle site and the installer said that the installation was successful. It installed it under the following directory with the listed contents:
      /Library/Java/JavaVirtualMachines/jdk1.7.0_17.jdk/Contents
      drwxrwxr-x 15 root wheel 510 10 Apr 16:18 Home
      -rw-rw-r-- 1 root wheel 1577 2 Mar 02:10 Info.plist
      drwxrwxr-x 3 root wheel 102 10 Apr 16:18 MacOS

      This installation seems to be incomplete. When I installed 1.6.0, I can see the following:
      /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
      drwxr-xr-x 12 root wheel 408 20 Feb 22:31 Classes
      drwxr-xr-x 41 root wheel 1394 20 Feb 22:31 Commands
      drwxr-xr-x 6 root wheel 204 20 Feb 22:31 Home
      -rw-r--r-- 1 root wheel 1963 20 Feb 22:31 Info.plist
      drwxr-xr-x 50 root wheel 1700 20 Feb 22:31 Libraries
      drwxr-xr-x 3 root wheel 102 20 Feb 22:31 MacOS
      drwxr-xr-x 32 root wheel 1088 10 Nov 12:37 Resources
      -rw-r--r-- 1 root wheel 462 20 Feb 22:31 version.plist

      When I try to use the 1.7 installation in IntelliJ, it cant find classes.jar, and thus any of the java classes..
      The compiler flags red all over the project.

      I tried installing jdk-7u15-macosx-x64.dmg and I still get the same problem.

      Any idea what could be going wrong? Im running a MacBook Air with Mac OS X 10.7.5
      Thanks.