You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prepare:
[delete] Deleting directory /home/felipelageduarte/hist4j/output
[mkdir] Created dir: /home/felipelageduarte/hist4j/output
compile:
[javac] /home/felipelageduarte/hist4j/build.xml:52: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 5 source files to /home/felipelageduarte/hist4j/build
jar:
[jar] Building jar: /home/felipelageduarte/hist4j/output/hist4j-trunk.jar
BUILD SUCCESSFUL
Total time: 0 seconds
Exception in thread "main" java.lang.UnsupportedClassVersionError: Hist4jExample : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: Hist4jExample. Program will exit.
Could anyone please help me and fix the script?
The text was updated successfully, but these errors were encountered:
After a quick google search, this seems to be related to the version of the JVM you have installed. The recommended fix is to install the latest JVM.
Jorge
I just grab the source code from git repository. I tried to run the script and got the following error
~/hist4j$ ./run_example.sh
Buildfile: /home/felipelageduarte/hist4j/build.xml
prepare:
[delete] Deleting directory /home/felipelageduarte/hist4j/output
[mkdir] Created dir: /home/felipelageduarte/hist4j/output
compile:
[javac] /home/felipelageduarte/hist4j/build.xml:52: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 5 source files to /home/felipelageduarte/hist4j/build
jar:
[jar] Building jar: /home/felipelageduarte/hist4j/output/hist4j-trunk.jar
BUILD SUCCESSFUL
Total time: 0 seconds
Exception in thread "main" java.lang.UnsupportedClassVersionError: Hist4jExample : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: Hist4jExample. Program will exit.
Could anyone please help me and fix the script?
The text was updated successfully, but these errors were encountered: