CPCWiki forum

General Category => Emulators => Topic started by: asun200 on 13:30, 16 December 12

Title: javacpc black screen (solved)
Post by: asun200 on 13:30, 16 December 12
Hello, I am using javacpc 6.7 version, in windows it works perfect, even in a virtual mahine, but using jar file under linux i get black screen, emulator is running but doenst show anything, sounds working, that all, I had tried version 1.7 but doesnt run at all
So happened to someone? I am using icedtea for java
thank you

(http://www.freeimagehosting.net/t/agql8.jpg) (http://www.freeimagehosting.net/agql8)
Title: Re: javacpc black screen
Post by: Devilmarkus on 14:10, 16 December 12
Seems that it can't find the roms.
Perhaps check javacpc.ini and add complete path to the given rom files.

Or upgrade to JavaCPC Desktop.

You can find the online installer here:
http://cpc-live.com/data/index.php?dir=-JavaCPC%20Desktop (http://cpc-live.com/data/index.php?dir=-JavaCPC%20Desktop)

Copy the setup file where you want to install JavaCPC to.

Then run it like "java -jar JavaCPC_Setup.jar" (without the "")

When done, you can run the JavaCPC.jar file like this:
"java -jar JavaCPC.jar -Xms512m" (Also without the "")
Title: Re: javacpc black screen
Post by: asun200 on 17:17, 16 December 12
Hello, alredy i checked ini file, but can't find anything about roms paths, so I tried the setup online you suggested me, I installed and not working, here is the terminal log:

http://pastebin.com/BsjEQKLM (http://pastebin.com/BsjEQKLM)

(forgot tell i am under 64bit with full support 32bit libraries)
Title: Re: javacpc black screen
Post by: Devilmarkus on 17:35, 16 December 12
There you have the solution:

java: /build/buildd/openjdk-6-6b24-1.11.5/build/../pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c:750:
Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1flush:
Assertion `stream' failed.
Aborting


JavaCPC is not compatible with pulseaudio!
Title: Re: javacpc black screen
Post by: Devilmarkus on 17:39, 16 December 12
First problem is here:


java.lang.UnsatisfiedLinkError: no jinput-linux64 in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
        at java.lang.Runtime.loadLibrary0(Runtime.java:840)
        at java.lang.System.loadLibrary(System.java:1047)
        at net.java.games.input.LinuxEnvironmentPlugin$1.run(LinuxEnvironmentPlugin.java:69)
        at java.security.AccessController.doPrivileged(Native Method)
        at net.java.games.input.LinuxEnvironmentPlugin.loadLibrary(LinuxEnvironmentPlugin.java:61)
        at net.java.games.input.LinuxEnvironmentPlugin.<clinit>(LinuxEnvironmentPlugin.java:104)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
/snip/

Title: Re: javacpc black screen
Post by: asun200 on 18:06, 16 December 12
hello,
I changed pulse for gstreamer, but terminal still show javacpc trying get error with pulseaudio

java: /build/buildd/openjdk-6-6b24-1.11.5/build/../pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c:750: Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1flush: Assertion `stream' failed

Also I searched for jinput-linux64 in repository, i found libjinput-java what installed libjinput-jni and libjutils-java, but nothing changes, same error, whats strange, maybe that libs are for java not for icetea, so it could be icedtea not working propely?

thank you

PD, seems libraries I installed are for nothing i guess, the libjinput-linux64.so alredy in folder, so I thought make executable all jar files in lib folder, but no. still showing pulseaudio error
Title: Re: javacpc black screen
Post by: asun200 on 18:37, 16 December 12
hello again,
definitilely java setup online and java 1 version not working at all, but i tried java 6.7 version and finally working propely, thank you very much for your help
<<happy

Title: Re: javacpc black screen (solved)
Post by: Devilmarkus on 18:38, 16 December 12
Good then :)
Powered by SMFPacks Menu Editor Mod