Hum… Still no cigar. But Oracle tells me that I have the right Java
installed.
typing
% /Library/Internet
Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
Gives me :
java version “1.7.0_13”
Java™ SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot™ 64-Bit Server VM (build 23.7-b01, mixed mode)
typing
% java -version
gives me the old one.
I am over my head with this one, I am afraid.
This means that Java 6 is found on your PATH before Java 7. The command
‘which java’ will show you the path of the java binary which is found
on your path. What does it say?
the JRE 7 installer doesn’t create proper symlinks for the java binary.
I have no idea why Oracle thinks it’s acceptible for the installer to
behave that way, since it leaves you with exactly this problem. They’re
essentially saying “our installer doesn’t finish doing its job”.
What’s the output now when you run each of the following:
which java
java -version
ls -l /System/Library/Frameworks/JavaVM.framework/Versions
harpua:~ mgouker$ ls -l /Library/Java/JavaVirtualMachines
total 0
drwxrwxr-x 3 root wheel 102 Apr 20 2012 1.7.0.jdk
harpua:~ mgouker$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions
total 64
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.4 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.4.2 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.5 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.5.0 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.6 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.6.0 → CurrentJDK
drwxr-xr-x 9 root wheel 306 Feb 16 19:34 A
lrwxr-xr-x 1 root wheel 1 Feb 16 08:43 Current → A
lrwxr-xr-x 1 root wheel 52 Feb 16 09:50 CurrentJDK → /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents
I also have:
harpua:~ mgouker$ ls /System/Library/Java/JavaVirtualMachines
1.6.0.jdk
Guillaume, if you use 1.7 JDK, please make sure you have Java (not javascript) off in your browser. There are security issues.
Guillaume, our jdks are a little different (you are 13 builds ahead of me). Where did you get yours? From Oracle or the Open JDK project?
I have no problem starting Vassal - absolutely no error executing Vassal, however I still have bad graphic output. I execute Vassal from the Applications folder (not through a browser - can you still do that?).
Also, uekelman, I believe I have the same output on the screen as Guillaume in Vassal itself (i.e. no text on the counters). Please see attached image. Note that the Ottomans are on the rampage.
Guillaume, Vassal will use the Java it finds in its class path. That’s why the links are important. A symbolic link points to the current VM. In your case, it will find jdk 7’s libraries now. Do you just execute the Vassal App in the Applications folder?