• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to install JDK  RSS feed

 
Charlie Swan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed Java SE 6 update. I do not see any development kits. What should I see? I was looking to install the most recent version of the JDK? Do I need to install something else first? Thanks for the any help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Newbie Developer", please check your private messages for an important administrative matter.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun's JDK is a set of command-line applications. You will not find a "program" to open (like an IDE).

See this Hello World Tutorial, and let us know if this helps.
 
Charlie Swan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know if I have the complete code when I installed java se update 10 or does it presume that I already have a version of java on my machine. If so what am I suppose to have installed first as far as the java is concerned. I have my machine configuration set up with ie sp 1 and windows 2003. Thanks its a bit confusing. Is there a way for me to test my setup. I am installing a few items after this, and I want to verify each one as I go along. Thanks in advance for any help.
 
Norm Radder
Rancher
Posts: 2240
28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
way for me to test my setup.

All the JDK commands are commandline, no GUI. To test if you have it installed, open a commandprompt and enter: javac - version
If you have the java compiler on your OS's PATH you should get a response from the javac command listing its options etc.
If you do NOT have it on the PATH your OS will give you a "what is it?" kind of message.
If you have the JDK installed but not on the PATH, you need to set your PATH to have the path to the JDK's \bin folder.
Use Search to find posts here on how to do that.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Charlie Swan:
Do you know if I have the complete code when I installed java se update 10 or does it presume that I already have a version of java on my machine...

It's labeled "Update," but it's the complete JDK. See Norm's post for verifying the installation.

(If you did not update the PATH variable when installing, see the installation instructions to do this.)
 
Charlie Swan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THANK YOU.

I did what was suggested and it worked.

Summary for Others on Java SE 6 Update 10 RC Install:
1. Make sure your computer is configured properly
I am running Windows Server 2003 so I had to have sp1 and ie 6
2. Download Java SE 6 Update 10 RC Install (It is complete in itself)
3. Confirm download size
4. Download JRE that corresponds to Java SE 6
6. In notepad, create HelloWorld app, compile, and run
7. Change path and classpath variables as needed

The HelloWorld link details the above:http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html'

Thanks again.
 
Campbell Ritchie
Marshal
Posts: 56599
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's nice when it works, isn't it.
I think you have one more stage than you really need; although you get two installations on Windows (JDK then JRE), you don't need to download them both; the JDK includes a complete JRE.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!