I get the following error while trying to compile or run everything that has to do with
Error occurred during initialization of VM java/lang/ClassNotFoundException: error in opening JAR file <Zip file open error> /usr/lib/jvm/java-8-oracle/jre/lib/rt.jar
To check the version installed i run
java -version but i get the error mentioned above, how can i check my java version without that command?
I know that i have installed java 8 but i don't know precisely which version it is.