How to know which java version is installed in linux?

Go to shell and type java -version. It will show the installed version information of java

root@ubuntu:/# java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)

.

Related Post

Starting httpd in linux
Setting up j2ee developer environment in ubuntu/linux
java.lang.UnsupportedClassVersionError: Bad version number in .class file
Start tomcat6 (installed as a windows service) debug mode using eclipse remote debugging
‘ant’ is not recognized as an internal or external command, operable program or batch file.

Comments

Leave a Reply