May 17, 2002

Obstacle in CFMX

I've learned how to instantiate Java objects in CF, but for some reason, I can't instantiate the RoverController class. I suspect it has to do with bad classpaths, or the fact that a dependent package relies on an executable file and local drivers to communicate with the I-R tower. I can call the same object in a test application to start the motors, so I know the RoverController class works. I can also call methods on non-Lejos classes from CFObject, so I know that the CFMX->Java bridge works.

An easy way out would be to write a socket server Java application that accepts commands on a local port, so that the Java object in CF could send commands to that port. However, it's not a clean solution and I'd rather get the CF object to work, for long term benefits with other pieces of code.

Posted by samuel at May 17, 2002 05:18 PM
Comments

Hi, I just wanted so say thank you guys ! i really like your site and i hope you'll continue to improving it.

Posted by: viagra at January 25, 2004 12:04 AM
Post a comment









Enter the letters as shown in the box below:



Remember personal info?