File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes install jdk vista problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "install jdk vista problem" Watch "install jdk vista problem" New topic

install jdk vista problem

kieran pattni
Ranch Hand

Joined: Jan 19, 2004
Posts: 47
hi..having problem installing jdk in windows vista..yes i have been site and instructions but still not happening..yes i have try adding at end path...


.;C:\Program Files\Java\jre1.6.0_05\lib\ext\


%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\C:\Program Files\Java\jdk1.6.0_04\bin

when i type javac at command prompt.. i get 'javac' not recognized internal or external ...etc..

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Note that PATH entries are separated by a semicolon (";"). You didn't put one before your new entry at the end of the PATH.

Note, also, that after changing the PATH, you'll need to close your console window and open a new one to get the benefit of the changes.

[Jess in Action][AskingGoodQuestions]
kieran pattni
Ranch Hand

Joined: Jan 19, 2004
Posts: 47
thank you very much it one problem sorted now have another ..i cant save java file in bin directory..i get 'You dont have permission to save in this location contact the adminstrator to obtain permission'..
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Well, don't save files there, anyway -- it's a very bad practice. Create your own directory somewhere else to store your work!
sarunya jaturonrusami

Joined: Nov 06, 2008
Posts: 1
I also have a problem about running this program
the error is same as the previous one

I have added some already
Does it has any mistake which leads it to the unrecognised program

.;D:\myjava; C:j2sdk1.4.2_18\lib\tools.jar; C:j2sdk1.4.2_18\lib\dt.jar; C:j2sdk1.4.2_18\bin

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:j2sdk1.4.2_18\bin


Do i need to add any other thing if my computer is also vista?

Could you plese help me?

rakesh sugirtharaj
Ranch Hand

Joined: Dec 16, 2007
Posts: 151
I hope you mean
Else try this,
Lets say java is installed in your system in a location,say java_home. So go to java_home/bin and type javac. If it works there then add that path to system path.

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46360
Well done noticing that tiny error, "RSR."

And welcome to JavaRanch, sarunya jaturonrusami
I agree. Here's the link:
subject: install jdk vista problem
jQuery in Action, 3rd edition