netbeans-netcat mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Rettig <Oliver.Ret...@orat.de>
Subject run Anagram example with JDk9 failed on ubuntu linux
Date Thu, 15 Jun 2017 12:31:31 GMT
System:
Product Version: NetBeans IDE Dev (Build 20170614-unknown-revn)
Java: 1.8.0_131; OpenJDK 64-Bit Server VM 25.131-b11
Runtime: OpenJDK Runtime Environment 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11
System: Linux version 4.4.0-78-generic running on amd64; UTF-8; de_DE (nb)

JDK for build the Anagram Game and run it:
jdk-9+173

build with the following warnings:
warning: [options] bootstrap class path not set in conjunction with -source 
1.6
warning: [options] source value 1.6 is obsolete and will be removed in a 
future release
warning: [options] target value 1.6 is obsolete and will be removed in a 
future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-
options.
4 warnings

run failed:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /media/oliver/
7306ec4d-452a-47d5-9063-6660ee05c32b/jdk-9/lib/libawt_xawt.so: libXi.so.6: 
Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht 
gefunden
	at java.base/java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2597)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2482)
	at java.base/java.lang.Runtime.load0(Runtime.java:812)
	at java.base/java.lang.System.load(System.java:1819)
	at java.base/java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2597)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2503)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:873)
	at java.base/java.lang.System.loadLibrary(System.java:1855)
	at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1358)
	at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1356)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1355)
	at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1388)
	at java.desktop/java.awt.Component.<clinit>(Component.java:590)
/media/oliver/7306ec4d-452a-47d5-9063-6660ee05c32b/Downloads/netbeans-
donation-review/nbbuild/testuserdir/var/cache/executor-snippets/run.xml:135: 
The following error occurred while executing this line:
/media/oliver/7306ec4d-452a-47d5-9063-6660ee05c32b/Downloads/netbeans-
donation-review/nbbuild/testuserdir/var/cache/executor-snippets/run.xml:118: 
Java returned: 1
BUILD FAILED (total time: 0 seconds)

build and run with jdk8 works fine


Mime
View raw message