I would suggest 7u2. When you download it, make sure the letters “SE” (=standard edition) and “DK” (=development kit) appear in what you download. It should be slightly under 80MB. It is worth trying the 64-bit version because most computers in the last few years are 64 bit machines.
Don’t download the JRE; that is not sufficient for developing anything, and is included in the JDK. Make sure to set a PATH environment variable; you will find more details in the link Mohammed gave you.
Joined: Oct 13, 2005
If you have a reliable internet connection, you won’t need to download the documentation, but you should bookmark this.
The installation wizard asked to register the product for free, so I did it creating a new oracle.com account, even though I'm not allowed to complete set up profile, but the product is registered, it says.
After installing this I have a new message everytime I open a new IE9 browser or new tab in it saying "user account control" 'ssvagent.exe' 'Oracle America, Inc' asking for permission to continue.
I'm not sure if I have done something wrong, I clicked run to install the software when downloading, was I wrong doing so. Or is it to do with some MS update. Do I have to unistall and reinstall Java?
And with the path I created a user variable 'Path' and value "C:\Program Files\Java\jdk1.7.0_02\bin" with out semi colon at the end.
None of the checking commands 'java' 'javac' work and come with a stack of messages, and 'java version' comes with "could not find or load main class version". But Helloworld compiles and runs succesfully.
Is java for you computer(jre6) and jre7 included with java 7 conflicting.
Can any body please help me out.
Joined: Oct 13, 2005
Don’t know about ssvagent. That might be something to do with your registering your Java™ installation. Registration is not compulsory. It is more to do with Oracle being able to say, ”1234567890 people are writing programs in Java™“.
If you are getting that sort of error message, then you have installed something correctly. You can see the sort of error message you get if you don’t install it correctly here (first message shown).
It’s not, “java version”, but “java -version”.
If you can compile and execute a Hello World like this
java HelloWorld then you have got everything working that you need at present.