Page 1 of 1

[enchanting] Problems to start Echanting on W7

Posted: 07 Jan 2013, 17:01
by thomasroch
Hi,
on my W7 32-bit-system, I have running:
JDK 1.6
NXT-Driver 2.1
Lejos 0.9.1
Javaeditor.

Lejos runs fine. Javaeditor compiles and uploads programs to the NXT-brick.

But: After installing Enchanting 0.2, nothing happens.

After starting enchanting\backend\run.bat, I get the message:
C:\Program Files\Enchanting\BackEnd>run
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_20
FANTOM_HOME=C:\Programme\IVI Foundation\VISA\WinNT\Bin\NiViUsb.dll
Found all dependencies.
Exception in thread "main" java.lang.UnsupportedClassVersionError: EnchantingBridge : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: EnchantingBridge. Program will exit.

Would somebody help me?

Thx
Thomas

Re: [enchanting] Problems to start Echanting on W7

Posted: 07 Jan 2013, 21:19
by gloomyandy
Hi Thomas,
you may get more help over on the leJOS forum:
http://lejos.sourceforge.net/forum/index.php
I know that one of the NXT enchanting developers is a pretty regular poster over there and he may be able to help you out...

Andy

Re: [enchanting] Problems to start Echanting on W7

Posted: 09 Jan 2013, 06:34
by clinton10
Hi Thomas.

I'm glad to hear you've gotten the problem resolved.

Thanks so much, Andy, for inviting him to post on the leJOS forum. I'll watch the Mindboards and leJOS fora for Enchanting questions (but I'm glad there are other helpful people out there answering questions!)

Cheers,
Clinton