Moderator: clintonb
thomasroch wrote:Exception in thread "main" java.lang.UnsupportedClassVersionError: EnchantingBridge : Unsupported major.minor version 51.0
thomasroch wrote:I had to delete the lejos_nxt_java_home - environmentvariable. After this, everything is well.
skoehler wrote:Somebody or something compiled Java code with Java 7, and now you're trying to execute it with Java 6.
skoehler wrote:So then maybe LEJOS_NXT_JAVA_HOME pointed to a JDK 1.6 ?
clintonb wrote:I think you are right. It seems easy enough to fix, but I'd like to reproduce the problem first to be sure my fix actually works.
clintonb wrote:There is no corresponding environment variable used on the Mac or Linux, is there?
bitbucket wrote:I used the standard Windows installer.
I just modified the run.bat file to have the command "nxjpc -cp . EnchantingBridge" to specify a claspath of the current directory. It allowed the class files to be found.
bullestock wrote:bitbucket wrote:I used the standard Windows installer.
I just modified the run.bat file to have the command "nxjpc -cp . EnchantingBridge" to specify a claspath of the current directory. It allowed the class files to be found.
I just installed 0.2.3 on two machines, one running XP SP2 and the other Win7 x64. Both required the above change, otherwise the backend did not start.
Return to Enchanting Questions and Projects
Users browsing this forum: No registered users and 0 guests