• Post Reply Bookmark Topic Watch Topic
  • New Topic

Installation of jdk 6.0  RSS feed

 
Simon Evans
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Programmers,
I have re-downloaded the jdk 6.0, as indeed as you suggested, either the first installation wasn't complete, or it was only the jre that had.
Anyhow, upon writing the following :-
set PATH= C:\Program Files\Java\jdk1.6.0_05\bin;%PATH%
to the console, so's to accessorize the javac.exe file, as I'd done on the 1.2 version previously, I thought things were alright, but upon trying to get it to compile a program with the following inputs:

cd c:\Java Head First
Java Head First> javac DotComBust.java

I got something like 'javac is not a recognized name' from the console, thus it had not accessed the address - though it was as copied and pasted from the 'Explore' title bar, ie: the exact address as legible to the computer. I have checked, and the javac.exe file is in the bin folder - so, though I have the right version it still isn't operant.
Can anyone help?
Thank you for your support,
Yours
Simon.
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There really isn't any need to open a new thread for this follow-up question, replying to the old thread would have been better.

Anyway, if you open up the command prompt in Windows and call SET to add or alter a particular environment variable, that change will be local to that command prompt instance and it will be lost once you close the instance.
If you want to make a change to an environment variable persist, you should add or alter a system/user variable via the System Properties dialog (Advanced tab - Environment Variables button), which can be accessed by right-clicking My Computer and choosing Properties, or via the Control Panel.
[ March 27, 2008: Message edited by: Jelle Klap ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!