EmuNewz Network

Full Version: I can not start JPCSP 2142 in linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Boy, how are you?
Good.

My Problems.

I use ubuntu 4.11 have java installed and working (eg use it to run the eclipse and the rune scape), but I can not run jpcsp.

I downloaded several verses of the emulator, unzip the folder and try running it does not work.

Command:
Code:
sh start-linux-x86.sh

After pressing the enter key appreciate the error.
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: jpcsp/MainGUI
Caused by: java.lang.ClassNotFoundException: jpcsp.MainGUI
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: jpcsp.MainGUI. Program will exit.

I searched on google, I used the web forum but found no solution.
Could someone give me a hand?

Thank you.

my pc
Quote:AMD Sempron™ Processor LE-1200
2.1 GHZ
1 GB Ram
Geforce fx5200
PLZ Helppppppppppppp
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: jpcsp/MainGUI
Caused by: java.lang.ClassNotFoundException: jpcsp.MainGUI
Is this a problem related to the changes from r2136? Have you tried with r2135?
Ah yes. This is caused by the script changes in r2136. However, the scripts weren't working at all in r2135...
Looks like your environment needs a few more classpath settings. Commiting a fix right away. Wink
The old script is working but need type chmod +x in the script file.sh and running in the terminal sh file.sh
Oops, thanks for the answers.
Well let go.

None of the versions> 2000 can rotate.

I did use the chmod + x but still the program does not work.

In my sh file:

Code:
#!/bin/sh\n
java -Xmx1024m -cp "bin/*;lib/*;lib/amd-64/*" -Djava.library.path=lib/amd-64 jpcsp.MainGUI

What's my problem? :-(
(05-23-2011, 09:10 PM)kinrpg Wrote: [ -> ]Oops, thanks for the answers.
Well let go.

None of the versions> 2000 can rotate.

I did use the chmod + x but still the program does not work.

In my sh file:

Code:
#!/bin/sh\n
java -Xmx1024m -cp "bin/*;lib/*;lib/amd-64/*" -Djava.library.path=lib/amd-64 jpcsp.MainGUI

What's my problem? :-(

same here, it can be solved by editing the start-linux-x86.sh then replace jpcsp.MainGUI with -jar bin/jpcsp.jar

and you should change your current directory to jpcsp folder before running that sh file
(06-13-2011, 09:03 AM)xskill Wrote: [ -> ]
(05-23-2011, 09:10 PM)kinrpg Wrote: [ -> ]Oops, thanks for the answers.
Well let go.

None of the versions> 2000 can rotate.

I did use the chmod + x but still the program does not work.

In my sh file:

Code:
#!/bin/sh\n
java -Xmx1024m -cp "bin/*;lib/*;lib/amd-64/*" -Djava.library.path=lib/amd-64 jpcsp.MainGUI

What's my problem? :-(

same here, it can be solved by editing the start-linux-x86.sh then replace jpcsp.MainGUI with -jar bin/jpcsp.jar

and you should change your current directory to jpcsp folder before running that sh file
I've tried a fix in r2181. Could you test it?

Thanks!
(06-13-2011, 11:31 AM)gid15 Wrote: [ -> ]I've tried a fix in r2181. Could you test it?

Thanks!

looks good on my end.
Thanks buddy. As soon as I get home I'll try. 'll Post the results.