• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

unable to install "art of illusion" 2.61

Started by b402, 2009.01.21, 06:32:33

Previous topic - Next topic

b402

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.


b402

Here is a screen shot of the javaw.exe application.

Salutations,
b402

Pete

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


warpcafe

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
"It is not worth an intelligent man's time to be in the majority.
By definition, there are already enough people to do that"
- G.H. Hardy

warpcafe

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
"It is not worth an intelligent man's time to be in the majority.
By definition, there are already enough people to do that"
- G.H. Hardy

Pete

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

melf

#6
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.
/Mikael

warpcafe

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
"It is not worth an intelligent man's time to be in the majority.
By definition, there are already enough people to do that"
- G.H. Hardy

melf

I don't know but I'll remember there was a thread about it somewhere in this forum.
/Mikael