LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command for finding java version (https://www.linuxquestions.org/questions/linux-newbie-8/command-for-finding-java-version-597714/)

babu198649 11-07-2007 02:28 AM

command for finding java version
 
hi
what is the command to find java version running in the computer.

thanks

Nylex 11-07-2007 02:38 AM

java -version.

babu198649 11-07-2007 03:25 AM

nothing is there in that page

colucix 11-07-2007 03:55 AM

It was just a typo from Nylex. Surely he meant
Code:

java --version
since usually long options have double minus. Furthermore if you try
Code:

java --help
you will discover a short list of available option and the command usage description. This is true for a lot of other commands. Cheers!


All times are GMT -5. The time now is 03:59 PM.