EmuNewz Network

Full Version: [need help] ubuntu jpcsp
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I am unable to get jpcsp to run on ubuntu, and can not find the solution anywhere on the forums. I cannot get the .sh file to run. Any help is appreciated. *If the problem is a easy fix I apologise, this is my first time running ubuntu, so I am quite the noob at it.

Here are the logs that I have of the problem.

I get this one when trying to run the program from hyakki's launcher:


Archive: /home/btb/Desktop/jpcsp-linux-amd64/JPCSP.exe
[/home/btb/Desktop/jpcsp-linux-amd64/JPCSP.exe]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of /home/btb/Desktop/jpcsp-linux-amd64/JPCSP.exe or
/home/btb/Desktop/jpcsp-linux-amd64/JPCSP.exe.zip, and cannot find /home/btb/Desktop/jpcsp-linux-amd64/JPCSP.exe.ZIP, period.


and here is the log from the terminal when I try to run it from the .sh file:


Exception in thread "GUI" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:82)
at org.lwjgl.Sys.<clinit>(Sys.java:99)
at org.lwjgl.opengl.AWTGLCanvas.<clinit>(AWTGLCanvas.java:85)
at jpcsp.HLE.modules150.sceDisplay.<init>(sceDisplay.java:602)
at jpcsp.HLE.modules200.sceDisplay.<init>(sceDisplay.java:29)
at jpcsp.HLE.modules500.sceDisplay.<init>(sceDisplay.java:29)
at jpcsp.HLE.modules.sceDisplay.<init>(sceDisplay.java:25)
at jpcsp.HLE.Modules.<clinit>(Modules.java:157)
at jpcsp.MainGUI.<init>(MainGUI.java:197)
at jpcsp.MainGUI$58.run(MainGUI.java:2317)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
at java.awt.EventQueue.access$000(EventQueue.java:102)
at java.awt.EventQueue$3.run(EventQueue.java:662)
at java.awt.EventQueue$3.run(EventQueue.java:660)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:671)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)




The only way the launcher will work in linux is with wine, and then java being installed in wine, then using the 32 bit windows jpcsp.. even after all that Im not sure the opengl part of java will work correctly under wine.

you might want to try the native linux builds
http://buildbot.orphis.net/jpcsp/
then just type
./start-linux-x86.sh
or
java -Xmx514m -Djava.library.path=lib/linux-x86 -jar bin/jpcsp.jar
under the jpcsp directory
(05-18-2012, 08:24 PM)hyakki Wrote: [ -> ]The only way the launcher will work in linux is with wine, and then java being installed in wine, then using the 32 bit windows jpcsp.. even after all that Im not sure the opengl part of java will work correctly under wine.

you might want to try the native linux builds
http://buildbot.orphis.net/jpcsp/
then just type
./start-linux-x86.sh
or
java -Xmx514m -Djava.library.path=lib/linux-x86 -jar bin/jpcsp.jar
under the jpcsp directory


Thanks, trying this out right now. I heard that Star ocean: SE was only fully playable on the 64 bit version though. Any idea if it is playable on the 32bit also?

this is the log I get now:

Exception in thread "GUI" java.lang.UnsatisfiedLinkError: /home/btb/Desktop/jpcsp-linux-x86/lib/linux-x86/liblwjgl.so: /home/btb/Desktop/jpcsp-linux-x86/lib/linux-x86/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:82)
at org.lwjgl.Sys.<clinit>(Sys.java:99)
at org.lwjgl.opengl.AWTGLCanvas.<clinit>(AWTGLCanvas.java:85)
at jpcsp.HLE.modules150.sceDisplay.<init>(sceDisplay.java:602)
at jpcsp.HLE.modules200.sceDisplay.<init>(sceDisplay.java:29)
at jpcsp.HLE.modules500.sceDisplay.<init>(sceDisplay.java:29)
at jpcsp.HLE.modules.sceDisplay.<init>(sceDisplay.java:25)
at jpcsp.HLE.Modules.<clinit>(Modules.java:157)
at jpcsp.MainGUI.<init>(MainGUI.java:197)
at jpcsp.MainGUI$58.run(MainGUI.java:2317)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
at java.awt.EventQueue.access$000(EventQueue.java:102)
at java.awt.EventQueue$3.run(EventQueue.java:662)
at java.awt.EventQueue$3.run(EventQueue.java:660)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:671)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

It seems to have something to do with liblwjgl.so maybe?
oh didn't see you were using 64bit linux
get the 64bit Jpcsp build then run

java -Xmx514m -Djava.library.path=lib/linux-amd64 -jar bin/jpcsp.jar
(05-18-2012, 09:13 PM)hyakki Wrote: [ -> ]oh didn't see you were using 64bit linux
get the 64bit Jpcsp build then run

java -Xmx514m -Djava.library.path=lib/linux-amd64 -jar bin/jpcsp.jar

Still the same message as before, is there anything other than java that needs to be installed, or do I have to make java open to some path or anything other than just installing java? Tongue

here is the log:

ubuntu:~/Desktop/jpcsp-linux-amd64$ ./start-linux-amd64.sh
Exception in thread "GUI" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at org.lwjgl.Sys$1.run(Sys.java:73)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:82)
at org.lwjgl.Sys.<clinit>(Sys.java:99)
at org.lwjgl.opengl.AWTGLCanvas.<clinit>(AWTGLCanvas.java:85)
at jpcsp.HLE.modules150.sceDisplay.<init>(sceDisplay.java:602)
at jpcsp.HLE.modules200.sceDisplay.<init>(sceDisplay.java:29)
at jpcsp.HLE.modules500.sceDisplay.<init>(sceDisplay.java:29)
at jpcsp.HLE.modules.sceDisplay.<init>(sceDisplay.java:25)
at jpcsp.HLE.Modules.<clinit>(Modules.java:157)
at jpcsp.MainGUI.<init>(MainGUI.java:197)
at jpcsp.MainGUI$58.run(MainGUI.java:2317)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:701)
at java.awt.EventQueue.access$000(EventQueue.java:102)
at java.awt.EventQueue$3.run(EventQueue.java:662)
at java.awt.EventQueue$3.run(EventQueue.java:660)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:671)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)

ok try this
export PATH=$PATH:lib/:lib/linux-amd64
then do
./start-linux-amd64.sh


could you also make sure that the directory lib/linux-amd64 exists and that liblwjgl.so is present. if not maybe you extracted the archive wrong
(05-18-2012, 09:58 PM)hyakki Wrote: [ -> ]ok try this
export PATH=$PATH:lib/:lib/linux-amd64
then do
./start-linux-amd64.sh


could you also make sure that the directory lib/linux-amd64 exists and that liblwjgl.so is present. if not maybe you extracted the archive wrong

I must have extracted the archive wrong, I just downloaded lwjgl VIA synaptic and it still does not work. How exactly was I supposed to extract it? Is there a step-by-step guide for this, I am totally new to linux and this, forgive my noobieness. xD
to extract do
7z x jpcsp-2552-linux-amd64.7z

and that should preserve the directory structure.
(05-19-2012, 08:50 AM)hyakki Wrote: [ -> ]to extract do
7z x jpcsp-2552-linux-amd64.7z

and that should preserve the directory structure.


Ok, I have figured out my problem, thanks so much for the help. <3 I needed the jdk as well as the jre. Now I have 2 new problems though, the first is that I cannot get the sound to work on the videos it works for normal sounds like when you click new game. The second is that the screen on the game is too small and I can hardly see it. I dunno how to crop images on linux so excuse the print screen shot. Tongue

EDIT: I got the small screen fixed up, now it is just the sound in movies that I am having problems with. Basically I need SonicStage, but am unsure on how to download it and what version to download on ubuntu linux. I tried just running the .exe through wine and I get a small blank spot in the middle of my screen where my mouse goes invisible if I pass it and I cannot click in that area, I need to restart everytime to get rid of it. Again, thanks so much for the help. Smile
zxzero, maybe you must use virtual machine software!
at the moment, there is no one talk about SonicStage on Ubuntu except under virtual OS!
anyway, there is alternative to SonicStage, it's JSymphonic.
but it's not for you, because it's used to transfer music from/to Sony's MP3 players. look for this:

http://ubuntuforums.org/showthread.php?t...jsymphonic

i advice you to return to windows OS to hear sounds or... play without sound.
Pages: 1 2 3 4