دنبال کننده ها

۱۳۹۶ آذر ۱۲, یکشنبه

How to check java version at linux (RedHat6)

[ad_1]



I am trying to check what java version I have installed in my linux machine, I have tried:



which java 


and I get:



/usr/bin/java 


but when I type:



java -version 


the console is returning nothing and getting stuck in a "java mode" , feels like the command called java and its waiting for my inputs, any thing I type then returns nothing... until I type crt+C it exits the mode...




[ad_2]

لینک منبع