Reputation: 81
I downloaded Solaris 5.10 VM (ova) for VMWare (win7 pro) and I am trying to update the pre-installed java6 x64 to java 7_79 x64 JDK from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html It seems I have 64bit support (isainfo returns amd64) and I am trying to determine which is the correct java64 download. I am confused. I tried Solaris x64 16.38 MB jdk-7u79-solaris-x64.tar.gz but when I run java -version I get Error occurred during initialization of VM A fatal exception has occurred. program will exit.
I also tried another download Solaris x86 96.66 MB jdk-7u79-solaris-i586.tar.gz but that as I suspected, turns out to be 32bit only.
I did not try the Sparc ones as I suspect they are for Sparc arch.
Help appreciated.
Upvotes: 0
Views: 628
Reputation: 30823
You need to install both the 32 bit and 64 bit packages. The latter is not, as its size shows, a complete JDK but only an add-on including the 64 bit binaries/libraries.
Upvotes: 2
Reputation: 695
Sorry for the delay. First, uninstall all versions of java. Seconds, I noticed that the link you provided is out of date. Java 8 came out recently so you should use that unless you have compatibility issues.
Choose: Solaris x64
Finally, if this does not work, uninstall and just try again with a different download from the page I provided.
Upvotes: 0