EmuNewz Network
I can not start JPCSP 2142 in linux - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: JPCSP builds and releases (https://www.emunewz.net/forum/forumdisplay.php?fid=53)
+---- Thread: I can not start JPCSP 2142 in linux (/showthread.php?tid=4638)



I can not start JPCSP 2142 in linux - kinrpg - 05-19-2011

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



RE: I can not start JPCSP 2142 in linux - kinrpg - 05-22-2011

PLZ Helppppppppppppp


RE: I can not start JPCSP 2142 in linux - gid15 - 05-22-2011

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?


RE: I can not start JPCSP 2142 in linux - Hykem - 05-22-2011

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


RE: I can not start JPCSP 2142 in linux - MaXiMu - 05-22-2011

The old script is working but need type chmod +x in the script file.sh and running in the terminal sh file.sh


RE: I can not start JPCSP 2142 in linux - kinrpg - 05-23-2011

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? :-(


RE: I can not start JPCSP 2142 in linux - xskill - 06-13-2011

(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


RE: I can not start JPCSP 2142 in linux - gid15 - 06-13-2011

(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!


RE: I can not start JPCSP 2142 in linux - hyakki - 06-13-2011

(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.


RE: I can not start JPCSP 2142 in linux - kinrpg - 06-13-2011

Thanks buddy. As soon as I get home I'll try. 'll Post the results.