Help - new to Java and can't get my compiler to work
Brian Pelowski
Greenhorn
Joined: Sep 29, 2010
Posts: 10
posted
0
Help - new to Java and can't get my compiler to work - set my path to program files\java\jre6\bin and typed % javac - but nothing - don't know much - but that is what head first Java seemed to say to do?
Al Fraelich
Greenhorn
Joined: May 25, 2009
Posts: 20
posted
0
program files\java\jre6\bin
The JRE doesn't have the files you need. You need to point your path to the \bin of the "JDK".
probably something like this.. " C:\Program Files\Java\jdk1.6.0_21\bin "
If you haven't installed it, you can get it from sun, if you have, just change your path to that bin and you should be good.
Let us know if that doesn't work.
Al
Brian Pelowski
Greenhorn
Joined: Sep 29, 2010
Posts: 10
posted
0
Hmmm - I installed the jdk and jre - but I do not have a directory with jdk??