To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 364
363  |  365
Subject: 
problem downloading
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Wed, 9 Mar 2005 20:23:41 GMT
Viewed: 
8714 times
  
hi ....
i have a problem downloading my java programs to the RCX, they don't give any
errors when compiling them using the lejosc command, but when trying to use the
lejos command i get this error :

Exception reading Test
js.classfile.EClassFileFormat: Version not recognized: 46.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:91)
        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)


thx for any help or ideas



Message has 1 Reply:
  Re: problem downloading
 
Hi, (...) this means that the class files are in a newer format that Lejos cannot use, so the compiler needs a '-target 1.1' option (with Java 1.5 you may also need '-source 1.2'). It seems your Lejos version is rather old, the current ones put the (...) (20 years ago, 14-Mar-05, to lugnet.robotics.rcx.java)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR