When I run the following in Windows it works correctly:
java -cp bin\;lib/myJar.jar com.example.MyClass
But I cannot get it to work in Ubuntu (it says Could not find or load main class). I read a couple of posts in SO, and the problem I think is in the way the class path needs to be set, but I cannot figure out how I can modify bin\;lib/myJar.jar to run correctly on ubuntu.