Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install Problems

Status
Not open for further replies.

WJProctor

Programmer
Jun 20, 2003
151
GB
Evening everyone, before i start Merry Christmas to you all. Ive just installed Java SDK 1.4.2 and the install went fine as i was expecting, The system tells me that the correct version of java is installed if i go to cmd and type in java. How ever in /bin i cant seem to find javac.exe which is supposed to be there for me to compile with. I have just started to look at Java and am follwing a book which has told me to find this file. Maybe someone can help me out and tell my why its not there and what i can do. Hope u can, thank you very much.

James
 
Hello James
Usually, you would find javac (note that javac would be without an exe extension) under /usr/bin. As you have not mentioned about the OS on which you have installed JDK, I would suggest you to follow this. Give a command "find / -name javac". It would give you list of javac present on your system with absolute path. (say /usr/java141/bin/javac)

Now, if your requirement is to have javac under /bin, then you can probably have a soft link created as follows :
ln -sf /usr/java141/bin/javac /bin/javac

This should solve your problem.

Otherwise, you may choose to put /usr/java141/bin in your path (as javac was found under it).

Let us know if you need further help.

Thanks
Amit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top