Background information:
Java 1.4 creates class files labeled with version 48.0
Java 1.5 creates class files labeled with version 49.0

Java 1.4 can't run class files labeled with version 49.0

I have the impression (not sure) that iCommand is compiled with 1.5.
 So either recompile icommand with 1.4 or upgrade to 1.5.

 I will send you a jar compiled with 1.4

Peter Joosten.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ewan
Parry
Sent: Monday, October 09, 2006 2:07 AM
To: [email protected]
Subject: [Lejos-discussion] icommand 0.4


Hi, Im trying to use icommand 0.4 but keep getting a strange error while
compiling. I have rxtx-2.1-7 and have copied the dlls to the java
1.4.2_12\bin directory. When I try to compile I get the following error;

Test.java:7 cannot access icommand.platform.nxt.NXT
Bad class file: .icommand\platform\nxt\NXT.class
Class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct sub-directory of the
classpath.

        NXT nxt = new NXT("COM5");
1 error

Any one tell me what version 49.0 refers to?

Ewan Parry



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to