Menu

#1 Problem with v3.0rc2

open
nobody
None
5
2014-12-02
2009-05-26
TomCh
No

I recently tried 3.0rc2, but got this error:

D:\Apple][\a2gameserver\From AGS SourceForge page\3.0rc2>java -Djava.library.pa h=lib -cp lib;lib/RXTXcomm.jar;dist/ags.jar ags.Main localhost 1977 apple2e Exception in thread "main" java.lang.NoClassDefFoundError: ags/Main Caused by: java.lang.ClassNotFoundException: ags.Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source) Could not find the main class: ags.Main. Program will exit.

I've got JRE 1.6u13 installed.

To fix the problem I had to do this:

- I moved the distro to a path without spaces
- I had to copy "RXTXcomm.jar" to the distro's lib folder
- I extended the cmd-line to:
java -Djava.library.path=lib -cp lib;lib/RXTXcomm.jar -jar dist/ags.jar

Actually the 'path without spaces' fix: this just enables the 'Edit Settings' menu to work correctly. If I ignore this menu, then AGS works fine.

Oh yeah... I love the new interfaces (both host & Apple][ side). The search, the little info about each game: it's looking really good!

Tom

Discussion


Log in to post a comment.

MongoDB Logo MongoDB