I am extremely new to ish along with Linux commands in any way, shape, or form. I am trying to launch a .jar file with the command "java -Xmx512m -XX:+UseG1GC -jar Lunite.jar"
Whenever I enter this, I get the following output:
FATAL ERROR in native method: Could not allocate library name
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1946)
locked <0xc76317a0> (a java.util.Vector)
locked <0xc7631600> (a java.util.Vector)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1849)
at java.lang.Runtime.loadLibrary0(Runtime.java:871)
locked <0xc7608260> (a java.lang.Runtime)
at java.lang.System.loadLibrary(System.java:1124)
at java.awt.Toolkit$3.run(Toolkit.java:1636)
at java.awt.Toolkit$3.run(Toolkit.java:1634)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
at java.awt.Toolkit.(Toolkit.java:1670)
at java.awt.Component.(Component.java:593)
Aborted
I don't know if I need to add something to the command I'm typing or if it's just not going to work. Any help would be appreciated. Incase you need my java version, when I type "java -Xmx512m -version", I get:
openjdk version "1.8.0_302"
OpenJDK_Runtime Environment (IcedTea 3.20.0) (Alpine 8.302.08-r1)
OpenJDK Server VM (build 25.302-b08, mixed mode)
I am extremely new to ish along with Linux commands in any way, shape, or form. I am trying to launch a .jar file with the command "java -Xmx512m -XX:+UseG1GC -jar Lunite.jar" Whenever I enter this, I get the following output: FATAL ERROR in native method: Could not allocate library name at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1946)