i am presently running aoi version 2.5 under java 1.4.2.
When i try to upgrade to version 2.61, i get the following message:
java virtual machine launcher: cannot find main class. program will exit.
what am i doing wrong ?
Thank you for help and time.
Here is a screen shot of the javaw.exe application.
Salutations,
b402
Hi
No problem "installing" as it seems to be a simple unzip to wherever.
I cannot get the app to run though...
I've tried both java.exe and javaw.exe and this is the error:-
[J:\Java\ArtOfIllusion261]J:\JAVA\JAVA142\JRE\BIN\JAVA.EXE -Xmx512m -jar J:\Java
\ArtOfIllusion261\ArtOfIllusion.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: artofillusion
/ArtOfIllusion (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
What am I doing wrong?
Pete
Hi guys,
did you make sure that the newer AOI is *still* intended for the Java142 we're using on eCS / OS2 ?
To me the symptom "smells" like it requires a newer JRE... I had that with other software in the past and it always truned out that it required a newer Java than we have (...I'm no java expert though).
Cheers,
Thomas
Hi again,
OK I have checked the AOI page and they simply say "Java 1.4"... well... however in the exception, there is
Quote(Unsupported major.minor version 49.0)
Now, what the heck is going on there? ;) I think I'll have to try this at home to see what the problem actually is - or in other words "check if that is the cause".
Cheers
Thomas
Hi Guys
I emailed Peter, the author, and had a response to the effect that 261 requires java1.5 or later - which is what I thought the java error messages indicated.
I have pointed out (politely) that the website needs updating...
Regards
Pete
Don't forget you can run this program in this way: http://home.arcor.de/michael.holzapfel/eCS/java/Using%20Java%20on%20eCS.html
I've tried. It works. Only issue is I get an unkillable aros2.exe when shutting down. It's just disturbing and you have to reboot if you want to start it again after closing.
UPDATE: Instead of using innowin and aros2.exe- you can use Odin and pe.exe. It works as well and I don't get any unkillable instances.
Hi melf,
Quote from: melf on 2009.01.23, 10:01:50
UPDATE: Instead of using innowin and aros2.exe- you can use Odin and pe.exe. It works as well and I don't get any unkillable instances.
Cool. Thanks.
...is that approach (how-to) documented/available somewhere??
TIA
Thomas
I don't know but I'll remember there was a thread about it somewhere in this forum.