jrv
Forum Guru
I am getting an error which this (http://www.vassalengine.org/forum/viewtopic.php?f=3&t=10196) suggests is due to VASSAL not being compatible with java v9. Is that correct?
JR
JR
java.com is still showing Java 8.I tried the java archive and the oldest version they currently show is a java9 so I guess no linux VASL for me. :-(
I agree, don't get me started :-/Check the forums and they seem to know about it for years but it isnt in the docs.
Knowing about it and having time to do anything about it aren't the same.Tried submitting a vassal bug about it but their bug reporter doesnt work. Check the forums and they seem to know about it for years but it isnt in the docs. sigh throws hands up and goes off to play something else
He's talking about documenting the problem.Knowing about it and having time to do anything about it aren't the same.
Did you try one of the resolutions listed in the forums?Just found this thread on VASSAL not working with new versions of java (while trying to get VASSAL working on the latest opensuse) and ive got the same problem.
I tried the java archive and the oldest version they currently show is a java9 so I guess no linux VASL for me. :-(
Tried submitting a vassal bug about it but their bug reporter doesnt work. Check the forums and they seem to know about it for years but it isnt in the docs. sigh throws hands up and goes off to play something else
The debian testing repository has openjdk-8-jdk to openjdk-13-jdk as well as openjdk-8-jre to openjdk-13-jre. I don't know what distro of linux you are using, but you might search for openjdk in your package software. debian uses apt, and I generally use synaptic over apt unless I am doing something synaptic doesn't do the way I want to do it. Your distro's package management software may be different. You can also install java directly from java.com, but I prefer using the standard package software unless I have no alternative. That way I get updates with all the other software.Just found this thread on VASSAL not working with new versions of java (while trying to get VASSAL working on the latest opensuse) and ive got the same problem.
I tried the java archive and the oldest version they currently show is a java9 so I guess no linux VASL for me. :-(
Tried submitting a vassal bug about it but their bug reporter doesnt work. Check the forums and they seem to know about it for years but it isnt in the docs. sigh throws hands up and goes off to play something else
Up thread it was said that the problem is due to a formerly-optional library (xercesImpl.jar) has become part of standard java. The program gets confused when it tries to load xercesImpl.jar because the classes in it are already loaded. That STUNs it. I just removed (renamed) xercesImpl.jar from my latest vassal installation, installed java 13 and switched to it. Everything runs fine. If I restore it, vassal crashes as above. My openjdk java is 64-bit.I am using an offline installation of JAVA8 build 221 (32bit) which works.
Just some guesswork:
Could it be that some JAVA issues could (also) be related of VASSAL/VASL requiring a 32bit version?
If that is the case, then you are stuck with JAVA8. At least I think that there are no 32bit versions of JAVA 9 and 10 - or that JAVA 9 / 10 are not compatible with VASSAL/VASL.
At least the STUN didn't result in recall.Up thread it was said that the problem is due to a formerly-optional library (xercesImpl.jar) has become part of standard java. The program gets confused when it tries to load xercesImpl.jar because the classes in it are already loaded. That STUNs it. I just removed (renamed) xercesImpl.jar from my latest vassal installation, installed java 13 and switched to it. Everything runs fine. If I restore it, vassal crashes as above. My openjdk java is 64-bit.
The good news is that I can now delete all those old versions of java.
JR
My memory was not good when I was young. Now you could hit me over the head with a shovel and I wouldn't remember. Recall is not an option.At least the STUN didn't result in recall.
Are we shooting for OpenJDK 12?I've been banging my head against the wall for a few weeks now to have a test build working with a version of Java newer than Java 8. Just a few minutes ago I solved the last major issue I know of, which was working around the fact that the classes we use to play sound were deprecated and then removed after Java 8.
Expect a test build sometime this week.
Oh gods, they didn't drop com.apple.eawt, did they? I'd like to see what you're getting for error messages.Have not fully troubleshot yet, but com.apple.eawt.* may not be a thing anymore. Testing with Oracle's JDK 12.0.2 for OSX.
ClassNotFound. I’ll post a fuller finding in the morning.Oh gods, they didn't drop com.apple.eawt, did they? I'd like to see what you're getting for error messages.