Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migrated from Mar 4 '10 at 6:28

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

in command prompt type: java -version

share|improve this answer

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?

I'm not sure I get your question.

share|improve this answer
honestly i dont know what i mean im sorry – l--''''''---------'''''''''''' Mar 4 '10 at 4:48
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 – l--''''''---------'''''''''''' 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .