• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Java SE 7u2 or Java SE 6 Update 30 fresh installation

 
Greenhorn
Posts: 3
MS IE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I'm about learn JAVA. I'm not sure which version to install, Java SE 7u2 or Java SE 6 Update 30, what are all that should be downloded as in

JDK(6/7 Docs) and JRE(6/7 Docs).

If JDK is downloded and installed, is that alone sufficient or JRE has to be done as well.

And how to set the classpath or path variables.

Is Java SE 7 the latest major release?

I use a Dell laptop with Windows Vista Home Premium.
I've just installed only the Java for your computer (Java 6 update 30).

Can anybody please help me out.

Josh Wilson
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would suggest you to read- How to create your first java program. This will solve most of your queries.
 
Marshal
Posts: 79704
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

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.
 
Campbell Ritchie
Marshal
Posts: 79704
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have a reliable internet connection, you won’t need to download the documentation, but you should bookmark this.
 
josh Wilson
Greenhorn
Posts: 3
MS IE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much for helping me out.

I've installed Java SE 7 update 2.

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.


Josh Wilson
 
Campbell Ritchie
Marshal
Posts: 79704
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
javac HelloWorld.java
java HelloWorld

then you have got everything working that you need at present.
 
josh Wilson
Greenhorn
Posts: 3
MS IE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much
 
Campbell Ritchie
Marshal
Posts: 79704
381
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You’re welcome
 
If you two don't stop this rough-housing somebody is going to end up crying. Sit down and read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic