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.
Regards
Alex
[1
Hello fellow Linux users,
on CentOS 7.2 I have successfully downloaded and installed Oracle Java [1]
with:
# rpm -Uvh jdk-8u91-linux-x64.rpm
Also there is already OpenJDK installed:
# rpm -qa | grep -i jdk
java-1.8.0-openjdk-headless-1.8.0.91-0.b14.el7_2.x86_64
java-1.8.0-openjd
2 matches
Mail list logo