Hi!

Working from a new install of lejos 2.1.0 on linux.  I've set up the
enviroment variables correctly.  Using java 1.5-something.  Compiling
works fine using:
lejosc -target 1.5 FILE
lejosc -source 1.2 FILE
lejosc -target 1.5 -source 1.2 FILE

When uploading, I get the following message:
js.classfile.EClassFileFormat: Version not recognized: 49.0
        at js.classfile.JClassFile.readMagicAndVersions(JClassFile.java:226)
        at js.classfile.JClassFile.read(JClassFile.java:255)
        at js.tinyvm.ClassRecord.getClassRecord(ClassRecord.java:427)
        at js.tinyvm.Binary.processClasses(Binary.java:81)
        at js.tinyvm.Binary.createFromClosureOf(Binary.java:258)
        at js.tinyvm.TinyVM.main(TinyVM.java:109)
        at js.tinyvm.TinyVM.main(TinyVM.java:100)
        at js.tinyvm.TinyVM.main(TinyVM.java:217)
        at js.tinyvm.TinyVM.main(TinyVM.java:251)

I did some quick research on google ... seems like a mismatch between
the expected and actual java version used to compile the class ...
didn't help me out much though.

I was thinking it may work if I could specify a version when calling
lejos, but there dosen't seem to be a command line argument to do
this.

Will lejos 3 work?

Am I doing something stupid?  Any suggestions?

-------------------------------------------------------------------------
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