afk46
April 22nd, 2010, 11:36 PM
Hello,
I just installed a game, TripleA, that is supposed to run great on Ubuntu using JAVA. I extracted the game to the recommended folder but when I try to start it in the the terminal, I get the following message.
sudo /home/"username"/.Games/TripleA/triplea_unix.sh
Exception in thread "main" java.lang.NoClassDefFoundError: games/strategy/engine/framework/GameRunner
Caused by: java.lang.ClassNotFoundException: games.strategy.engine.framework.GameRunner
at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 19)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 64)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:332)
Could not find the main class: games.strategy.engine.framework.GameRunner. Program will exit.
I have JRE already installed via Install and Remove Applications utility. Is there something else I should do? Installing JRE manually seemed a bit troublesome... Is it "safe", i.e. will the other apps that use java still work properly?
Thanks for your help!
Jim
I just installed a game, TripleA, that is supposed to run great on Ubuntu using JAVA. I extracted the game to the recommended folder but when I try to start it in the the terminal, I get the following message.
sudo /home/"username"/.Games/TripleA/triplea_unix.sh
Exception in thread "main" java.lang.NoClassDefFoundError: games/strategy/engine/framework/GameRunner
Caused by: java.lang.ClassNotFoundException: games.strategy.engine.framework.GameRunner
at java.net.URLClassLoader$1.run(URLClassLoader.java: 217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 19)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 64)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:332)
Could not find the main class: games.strategy.engine.framework.GameRunner. Program will exit.
I have JRE already installed via Install and Remove Applications utility. Is there something else I should do? Installing JRE manually seemed a bit troublesome... Is it "safe", i.e. will the other apps that use java still work properly?
Thanks for your help!
Jim