Author Topic: javacpc black screen (solved)  (Read 1894 times)

0 Members and 1 Guest are viewing this topic.

Offline asun200

  • CPC464
  • **
  • Posts: 4
  • Liked: 0
  • Likes Given: 0
javacpc black screen (solved)
« on: 14: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


« Last Edit: 19:37, 16 December 12 by asun200 »

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: javacpc black screen
« Reply #1 on: 15: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

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 "")
« Last Edit: 15:12, 16 December 12 by 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

Offline asun200

  • CPC464
  • **
  • Posts: 4
  • Liked: 0
  • Likes Given: 0
Re: javacpc black screen
« Reply #2 on: 18: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

(forgot tell i am under 64bit with full support 32bit libraries)
« Last Edit: 18:19, 16 December 12 by asun200 »

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: javacpc black screen
« Reply #3 on: 18:35, 16 December 12 »
There you have the solution:
Code: [Select]
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

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: javacpc black screen
« Reply #4 on: 18:39, 16 December 12 »
First problem is here:

Code: [Select]
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

Offline asun200

  • CPC464
  • **
  • Posts: 4
  • Liked: 0
  • Likes Given: 0
Re: javacpc black screen
« Reply #5 on: 19: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
« Last Edit: 19:18, 16 December 12 by asun200 »

Offline asun200

  • CPC464
  • **
  • Posts: 4
  • Liked: 0
  • Likes Given: 0
Re: javacpc black screen
« Reply #6 on: 19: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


Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1014
  • Likes Given: 926
Re: javacpc black screen (solved)
« Reply #7 on: 19:38, 16 December 12 »
Good then :)
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