在安装Oracle Java SDK之后,Linux程序无法启动

时间:2016-12-15 20:56:23

标签: java android linux java-8

我在光盘上安装了新的Sabayon Linux 64bit。此外,我安装了Android Studio,并用Oracle Java SE SDK取代了OpenJDK(icedtea)。到目前为止它已安装并正常工作:

$ java -version
java version "1.8.0_112"
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

据我所知,一切正常,除了两个程序: android-studio freecol

这里我有android-studio的控制台输出:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0

(java:7545): Gtk-WARNING **: Im Modulpfad »adwaita« konnte keine Themen-Engine gefunden werden,

(java:7545): Gtk-WARNING **: Im Modulpfad »adwaita« konnte keine Themen-Engine gefunden werden,
Looking in classpath from com.intellij.util.lang.UrlClassLoader@1ed6993a for /com/sun/jna/linux-x86-64/libjnidispatch.so
Found library resource at jar:file:/opt/android-studio/lib/jna.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Trying /home/mrt/.AndroidStudio2.2/system/tmp/jna8216112928634011661.tmp
Found jnidispatch at /home/mrt/.AndroidStudio2.2/system/tmp/jna8216112928634011661.tmp
[    209]  ERROR - llij.ide.plugins.PluginManager - sun.font.FreetypeFontScaler.initIDs(Ljava/lang/Class;)V 
java.lang.UnsatisfiedLinkError: sun.font.FreetypeFontScaler.initIDs(Ljava/lang/Class;)V
    at sun.font.FreetypeFontScaler.initIDs(Native Method)
    at sun.font.FreetypeFontScaler.<clinit>(FreetypeFontScaler.java:50)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at sun.font.FontScaler.<clinit>(FontScaler.java:98)
    at sun.font.TrueTypeFont.getScaler(TrueTypeFont.java:1298)

有关于此的任何提示吗?

0 个答案:

没有答案