Error With Simulator.class
Opened this issue · 2 comments
javeryk21 commented
I am able to download and compile the jMAVSim directory using ANT. When I run "java -Djava.ext.dirs= -cp lib/*:out/production/jmavsim.jar me.drton.jmavsim.Simulator -udp 127.0.0.1:14560" I get the error could not find or load main class me.drton.jmavsim.Simulator. Am I not doing something correctly with the build.xml file? Is there something else that I am missing here?
Thanks,
DrTon commented
- Have you build it with 'ant' command?
- Do you have file out/production/jmavsim.jar?
- Maybe something wrong with classpath (-cp option), on different platforms format is different
nanthony21 commented
Did this ever get figured out? I have the same issue. It seems like "-Djava.ext....." should have a space: "-D java.ext..." but then I just get "Error: Could not find or load main class java.ext.dirs="