Hello all,
I'm currently running lcm on an Ubuntu 16.04 Virtual Machine and had lcm-spy working last week. Since then, I added an additional .lcm message type to my "my-types.jar" file and now lcm-spy will not work.
Error extracting /home/sitl/lcm-1.3.1/lcm-java/lcm.jar
Error extracting /home/silt/exlcm/my-types.jar
Followed by a bunch of Class Discoverer: java.lang errors. Now the java errors do not concern me too much as they were there last week while it was working, but I'm unsure what else to do to fix my problem.
Remedial steps taken:
Deleted lcm-1.3.1 file folder from home directory
Deleted exlcm folder from home directory
Deleted lcm.jar from /usr/local/share/java/lcm.jar
performed
lcm-gen -p /home/sitl1/*.lcm
lcm-gen -j /home/sitl1/*.lcm
javac -cp /home/sitl1/lcm-1.3.1/lcm-java/lcm.jar exlcm/*.java
sudo jar cf my_types.jar exlcm/*.class
echo 'export CLASSPATH=$CLASSPATH:/home/sitl/lcm-1.3.1/lcm-java/lcm.jar' >> ~/.bashrc
echo 'export CLASSPATH=$CLASSPATH:/home/sitl/exlcm/my-types.jar' >> ~/.bashrc
Still no joy. I did all the above again, still no luck.