up vote 0 down vote favorite
share [g+] share [fb]

I am downloading and installing grails, and I need to set up some java system variables. How can I find out what my Java version is?

link|improve this question

50% accept rate
feedback

migrated from stackoverflow.com Mar 4 '10 at 6:28

This question came from our site for professional and enthusiast programmers.

2 Answers

in command prompt type: java -version

link|improve this answer
feedback

Do you mean the version of java you are running? Then yes, java -version.

Do you mean the latest java that Sun has to offer? java.sun.com?

I'm not sure I get your question.

link|improve this answer
honestly i dont know what i mean im sorry – alexluvsdanielle Mar 4 '10 at 4:48
1  
Going by your user name, every_answer_gets_a_point, shouldn't you give Jeff an upvote ? – gareth_bowles Mar 4 '10 at 4:53
yes i gave him an upvote, but two others gave him downs – alexluvsdanielle Mar 4 '10 at 5:04
I'm pretty sure Downs is hereditary. As for Java, the newest available version is Java 6u18. – Emyr Mar 4 '10 at 11:33
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.