This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can not start JPCSP 2142 in linux
#1
dos 
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
Reply
#2
PLZ Helppppppppppppp
Reply
#3
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?
Reply
#4
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
Reply
#5
The old script is working but need type chmod +x in the script file.sh and running in the terminal sh file.sh
[Image: 1388267.png]
Reply
#6
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? :-(
Reply
#7
(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
Reply
#8
(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!
Reply
#9
(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.


Attached Files Thumbnail(s)
   
Reply
#10
Thanks buddy. As soon as I get home I'll try. 'll Post the results.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)