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 / 144
    Loading multiple java binaries using leJOS —David Schilling
   I'm one of the organizers for the Workshop 3D RCX Challenge, a competition being held this weekend. I've never used leJOS before, and have a question: There are several entries in the "Code only" event that are written using leJOS and I would like (...) (23 years ago, 3-Oct-01, to lugnet.robotics.rcx.java)
   
        Re: Loading multiple java binaries using leJOS —Roger Glassey
     From the readme file : To simply create a binary file containing the linked program, use: lejos -o MyProgram.bin MyProgram You can download a previously linked program with: lejosrun MyProgram.bin You can also download multiple programs in one shot (...) (23 years ago, 3-Oct-01, to lugnet.robotics.rcx.java)
    
         Re: Loading multiple java binaries using leJOS —David Schilling
     (...) Just to clarify, for the most part, I already have the *.bin files for contest entries. To run them individually using "lejosrun prog.bin" works fine. But if 'lejosrun' is the tool to download programs, to me it would make sense to use the (...) (23 years ago, 3-Oct-01, to lugnet.robotics.rcx.java)
    
         Re: Loading multiple java binaries using leJOS —Roger Glassey
     (...) cases. (...) Hi David, AFAIK, lejos is a linker and needs a .class file. The MyProg.class file is the output of the compiler operating on MyProg.java, which must contain the main() method. lejos also needs a path to all the other .class files (...) (23 years ago, 3-Oct-01, to lugnet.robotics.rcx.java)
   
        Re: Loading multiple java binaries using leJOS —Juergen Stuber
   (...) AFAIK not, they have to be linked together. To put it another way, you'd need the .class files produced by the Java compiler, and they probably should be compiled against the same library. Then you are almost back to compiling it yourself, so (...) (23 years ago, 3-Oct-01, to lugnet.robotics.rcx.java)
 

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