Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open the KSE on Ubuntu 18.04 #130

Closed
marcosjoao37 opened this issue Jun 22, 2018 · 5 comments
Closed

Unable to open the KSE on Ubuntu 18.04 #130

marcosjoao37 opened this issue Jun 22, 2018 · 5 comments

Comments

@marcosjoao37
Copy link

marcosjoao37 commented Jun 22, 2018

Short description

Can't open. Getting java exception.

Steps to reproduce

  1. Download "Manual Installation" version;
  2. Run the kse.sh or java -jar kse.jar

Expected result

Open the software.

Actual result

Software Crash when opening.

Environment

  • Version of KSE: 532
  • Version of Java: 10.0.1 (tried with 8.x too)
  • Platform (OS): Linux Ubuntu 18.04 (xUbuntu)

Error log

java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-11-openjdk-amd64/lib/libsplashscreen.so: libgif.so.7: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2424)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2481)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2678)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2632)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:876)
at java.base/java.lang.System.loadLibrary(System.java:1875)
at java.desktop/java.awt.SplashScreen$1.run(SplashScreen.java:134)
at java.desktop/java.awt.SplashScreen$1.run(SplashScreen.java:132)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.SplashScreen.getSplashScreen(SplashScreen.java:131)
at org.kse.KSE.main(KSE.java:98)

@marcosjoao37 marcosjoao37 changed the title Unable to open the KSE on xUbuntu 18.04 Unable to open the KSE on Ubuntu 18.04 Jun 22, 2018
@marcosjoao37
Copy link
Author

Hm... Its worked when I had installed the oracle's java version.

@kaikramer
Copy link
Owner

You probably had the headless jre package (openjdk-X-jre-headless) installed, which only works for Java software that needs no keyboard, mouse or display.

@marcosjoao37
Copy link
Author

I had tested with and without that package installed. I had removed the openjdk-8-jre and reinstalled without the openjdk-8-jre-headless. Do not worked. Did you try to reproduce that?

@kaikramer
Copy link
Owner

Ok, so I installed Ubuntu 18.04, installed openjdk-8-jre, then executed kse.sh:

grafik

Then I uninstalled openjdk-8-jre and installed openjdk-11-jre, which is interestingly enough Java 10.0.1:

grafik

Then I uninstalled openjdk-11-jre and installed openjdk-11-jre-headless:

grafik

@vkotovv
Copy link

vkotovv commented Sep 5, 2019

I was able to fix that by installing regular JRE, not just headless:

sudo apt-get install openjdk-11-jre

@kaikramer it works for me even with headless installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants