This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Zero to AI - A non-technical, hype-free guide to prospering in the AI era and have Nicolò Valigi and Gianluca Mauro on-line!
See this thread for details.
Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

install jdk vista problem

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi..having problem installing jdk in windows vista..yes i have been sun.com site and instructions but still not happening..yes i have try adding at end path...

CLASSPATH

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

Path

%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..

thanks
 
author and iconoclast
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kieran pattni
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much it works...got 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
Posts: 24203
43
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, don't save files there, anyway -- it's a very bad practice. Create your own directory somewhere else to store your work!
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

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

path
%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

JAVA_HOME
.;C:j2re1.4.2_18

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

Could you plese help me?

Thanks
 
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

C:j2sdk1.4.2_18\bin

I hope you mean

C:\j2sdk1.4.2_18\bin

.
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.
 
Marshal
Posts: 70591
287
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done noticing that tiny error, "RSR."

And welcome to JavaRanch, sarunya jaturonrusami
 
And tomorrow is the circus! We can go to the circus! I love the circus! We can take this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic