Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

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

share|improve this answer
add comment

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.

share|improve this answer
    
honestly i dont know what i mean im sorry –  Артём Царионов 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 –  Артём Царионов 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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