Archives
Categories
Tag Archives: ubuntu
Could not find or load main class
I recently came across what seemed to be a fairly common error message while trying to run a Java jar on a newly installed Ubuntu 16.04 VM:
1 2 |
$ java -cp server.jar com.wurmonline.server.gui.WurmServerGuiMain Error: Could not find or load main class com.wurmonline.server.gui.WurmServerGuiMain |
This is a pretty common issue that usually stems from incorrect classpaths … Continue reading