Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
java error on linux
08-11-2019, 00:04
Post: #1
java error on linux
Hi all,

I am installing minimServer on Ubuntu server (headless), with Java 9:
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)

After entering the music directory, I get this stack trace.

Any ideas how I can fix this?

Thanks!
Marc


>java.lang.IllegalAccessError: superclass access check failed: class org.jminim.path.PathUtil$SeekableInputStream (in unnamed module @0x1a6d8329) cannot access class sun.nio.ch.ChannelInputStream (in module java.base) because module java.base does not export sun.nio.ch to unnamed module @0x1a6d8329
at java.lang.ClassLoader.defineClass1(java.base@9-internal/Native Method)
at java.lang.ClassLoader.defineClass(java.base@9-internal/ClassLoader.java:939)
at java.security.SecureClassLoader.defineClass(java.base@9-internal/SecureClassLoader.java:152)
at java.net.URLClassLoader.defineClass(java.base@9-internal/URLClassLoader.java:463)
at java.net.URLClassLoader.access$100(java.base@9-internal/URLClassLoader.java:76)
at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:371)
at java.net.URLClassLoader$1.run(java.base@9-internal/URLClassLoader.java:365)
at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method)
at java.net.URLClassLoader.findClass(java.base@9-internal/URLClassLoader.java:364)
at org.jminim.core.ComponentClassLoader.findLocalClass(ComponentClassLoader.java:15​3)
at org.jminim.core.ComponentClassLoader.loadClass(ComponentClassLoader.java:87)
at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419)
at com.minimserver.Server.getContentDirName(Server.java:4297)
at com.minimserver.Server.doStart(Server.java:2315)
at com.minimserver.Server.start(Server.java:535)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:68)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2334)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1267)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:142)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:519)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:150)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
at org.jminim.launch.Launcher.launch(Launcher.java:88)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)
Find all posts by this user
Quote this message in a reply
08-11-2019, 10:31
Post: #2
RE: java error on linux
OpenJDK 9 was released in September 2017. You are using a pre-release internal version of OpenJDK from April 2016. Please update to the official version of OpenJDK 9 or any later official release of OpenJDK.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)