Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

elf2hex: Unsupported major.minor version 52.0

Altera_Forum
Honored Contributor II
813 Views

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 II
113 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.

Reply