Jump to content

Unable to get HERO Designer to work...


Nightnova

Recommended Posts

Greetings.

 

I'm on a Windows 10 Home machine (64-bit). I went to java(dot)com and downloaded the most recent version of Java SE version 8. After installing it, I followed a tutorial to properly path it. When I attempted to run HERO Designer, I received a JNI error message. I proceeded to try and run it from the command line and received the following information:

 

 

E:\HERO Designer>java -jar HD6.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/hero/Launcher has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        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$100(Unknown Source)
        at java.net.URLClassLoader$1.run(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)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

E:\HERO Designer>java -version
java version "1.8.0_321"
Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) Client VM (build 25.321-b07, mixed mode, sharing)

 

 

Seems like a version issue? I'm not sure how to fix it. Please help!

Link to comment
Share on other sites

Where (and when) did you get your copy of HD?  

That error would occur if HD were compiled to a higher version level than Java 8 (which has major version 52). While I do run a higher major version of Java, HD is compiled specifically to be compatible with Java 8.  Checking the latest build verifies this:

 

javap -classpath ./HD6.jar -verbose com.hero.HeroDesigner | grep "major"

  major version: 52

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...