News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

javacpc black screen (solved)

Started by asun200, 13:30, 16 December 12

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

asun200

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



Devilmarkus

#1
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

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 "")
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

asun200

#2
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

(forgot tell i am under 64bit with full support 32bit libraries)

Devilmarkus

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!
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Devilmarkus

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/

When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

asun200

#5
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

asun200

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


Devilmarkus

When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Powered by SMFPacks Menu Editor Mod