Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
741 Views

elf2hex: Unsupported major.minor version 52.0

Seems Quartus is having trouble with using its own JRE or something. After upgrading to 14.1.1 I get: 

 

 

$ elf2hex Exception in thread "main" java.lang.UnsupportedClassVersionError: com/altera/elf2hex/Elf2hex : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: com.altera.elf2hex.Elf2hex. Program will exit.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
41 Views

This appears to be due to QUARTUS_ROOT pointing at the older installation. Seems like there was a Java 7/8 related problem. Setting QUARTUS_ROOT correctly resolved the issue.