[CentOS] Error: Could not find or load main class with OpenJDK and Oracle Java

Alexander Farber alexander.farber at gmail.com
Fri Jun 17 12:09:51 UTC 2016

Nevermind, I had to move my test file under
thepackagename/TheClassName.class and then it runs fine.

However my real program [1] consisting of few jar-files still
does not run on CentOS (while running fine on Windows).

I have to investigate more and will ask a separate question.


[1]: https://github.com/afarber/jetty-newbie/tree/master/WebsocketHandler

More information about the CentOS mailing list