Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can't find javac in jdk1.5.0  RSS feed

 
Doug Fann
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i loaded jdk1.5.0 and i cant find the javac in the program. does it have another name? without the javac i cant compile my first helloworld program. this is the way i set up java on my computer c:\java\bin
i should find javac in the bin folder.
 
Jas Oberai
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this out

Hope that helps..or you can search the javac.exe..and see where it is...
Bye
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Doug Doug:
i loaded jdk1.5.0 and i cant find the javac in the program. does it have another name? without the javac i cant compile my first helloworld program. this is the way i set up java on my computer c:\java\bin
i should find javac in the bin folder.


It should be in the bin folder under the folder where you installed Java. Unless you changed it, the default installation folder has the version number as well. If you are still having problems, let us know. You'll need to describe the directory structure for your installation and we should be able to help you from there.

Layne
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Doug Doug"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
Doug Fann
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i cant use Java\jdk1.5.0\bin because the way i set it up is c:\java\bin.
i should be able to just look in that folder and find it. i want so bad to get started. i have been playing around with this since last night. i am so frustrated right now. thanks for the replies.
 
Joe Ess
Bartender
Posts: 9428
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doug, our naming policy is that your display name be a first name and last name, seperated by a space. Please change it at your earliest convenience.

Originally posted by Doug:
i cant use Java\jdk1.5.0\bin because the way i set it up is c:\java\bin.

Since javac.exe isn't in c:\java\bin, I don't think Java is installed there. How about opening a command prompt, changing to the root directory and running:
 
Steve Morrow
Ranch Hand
Posts: 657
Clojure Spring VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, please don't crosspost. It cuts down on the effectiveness of responses, leads to people wasting their time answering what others have already answered, makes for difficult discussion, and is generally just annoying and bad form.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you deinstall it and reinstall it again taking the standard installation options. That's always worked first time for me.
 
Doug Fann
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your suggestions. i deinstalled and reinstalled the program. fyi, the problem was with the installation of jdk1.5.0. i installed jdk1.4.0 and everything is working fine. i was able to compile and run the program. i was also able to create and applet.

thanks again
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!