Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

How to install on openSUSE

0 votes

I'm trying to install yEd on openSUSE Linux. After launching the install script i'm getting:

Starting Installer ...
Mär 19, 2017 9:42:36 PM java.util.prefs.FileSystemPreferences$1 run
INFORMATION: Created user preferences directory.
Mär 19, 2017 9:42:36 PM java.util.prefs.FileSystemPreferences$2 run
INFORMATION: Created system preferences directory in java.home.
java.lang.InternalError: Unable to load native GTK libraries
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(GTKLookAndFeel.java:1447)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:538)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:583)
    at com.install4j.runtime.installer.frontend.GUIHelper.setLafUnconditional(Unknown Source)
    at com.install4j.runtime.installer.frontend.GUIHelper.setLaF(Unknown Source)
    at com.install4j.runtime.installer.frontend.GUIHelper.setLanguage(Unknown Source)
    at com.install4j.runtime.installer.frontend.Messages.setLanguageConfig(Unknown Source)
    at com.install4j.runtime.installer.controller.LanguageSelector.initLanguage(Unknown Source)
    at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)
    at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)
    at com.install4j.runtime.installer.Installer.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.install4j.runtime.launcher.Launcher.main(Unknown Source)

But what special GTK libraries are needed?

 

asked Mar 19 in Help by saigkill (130 points)

1 Answer

+1 vote

Which exact version of openSuSE are you using?
Which desktop environment are you using?
Which yEd installer were you using?
Do you have Java already installed on your system? If so, which exact version of Java do you have installed?

That said, the yEd installer should not require any special GTK libraries, e.g. it works fine on our Ubuntu 16.04 64bit test machine with GNOME 3.18 desktop environment.
Still, try running the installer with the command line option

-Dinstall4j.nolaf=true

to force the installer to use a different UI.

answered Mar 20 by thomas.behr [yWorks] (94,720 points)
I'm using openSUSE Tumbleweed (Rolling Release) on GNOME 3.22 Desktop. The installer is 3.17_32-bit on a x86_64 machine. Maybe the installer needs some 32bit libs?
I have installed the IcedTea Java version 1.8. Also a 1.8 oracle is installed, but IcedTea is the default one.
Ok, first thing to try is using the 64bit installer (yEd-3.17_64-bit_setup.sh) - after all, you are trying to run yEd on a 64bit system.
Oh i haven't seen, that a 64bit version of yEd exists. Now after downloading the installation process was perfectly. Also it is launchable.
Thank you for helping :-)