javac not working

ok, until now i have been using the javac that came with JBuilder. Now I want to use the Queue interface and upgraded to jre1.5.0_06. Now i have set my PATH to point to that folder.. c:\program files\java\jre1.5.0_06\bin and my classpath to just the dot .

But there is no javac file in the new java directory, so how does it work?

What do i have to download or set in order for my javac command works anywhere...

When i run java -version i get the 1.5.0_06 so thats ok, but it doesnt help if i cant compile it with it allowing the queue interface...

Thanks

[587 byte] By [hochia] at [2007-10-2 6:39:15]
# 1
right now it says not recognized when i do javac.exe anywhere... if that helps
hochia at 2007-7-16 13:47:26 > top of Java-index,Java Essentials,Java Programming...
# 2
Did you download the JRE or the JDK? The JRE only lets you run java programs. The JDK lets you compile them, too. Do you have a javac.exe somewhere on your system? What does it say for:javac -version
MLRona at 2007-7-16 13:47:26 > top of Java-index,Java Essentials,Java Programming...
# 3
You downloaded the JRE instead of the JDK/SDK. Download the JDK/SDK (whichever they call it now) and it will have the compiler (javac) included.
kablaira at 2007-7-16 13:47:26 > top of Java-index,Java Essentials,Java Programming...
# 4

Hi, I've been having a similar problem.

I have javac.exe here:

C:\Program Files\Java\jdk1.6.0\bin

But when I try >javac -version at cmd, I get:

'javac' is not recognised as an internal or external command, operable program or batch file.

Same when I try to use javac on a file.

I have added the above address to the classpath (not sure if that's the right thing to do?)

Any help appreciated!

okf20a at 2007-7-16 13:47:26 > top of Java-index,Java Essentials,Java Programming...
# 5

> Hi, I've been having a similar problem.

>

> I have javac.exe here:

> C:\Program Files\Java\jdk1.6.0\bin

>

> But when I try >javac -version at cmd, I get:

> 'javac' is not recognised as an internal or external

> command, operable program or batch file.

>

> Same when I try to use javac on a file.

>

> I have added the above address to the classpath (not

> sure if that's the right thing to do?)

>

> Any help appreciated!

http://java.sun.com/docs/books/tutorial/getStarted/problems/index.html

atmguya at 2007-7-16 13:47:26 > top of Java-index,Java Essentials,Java Programming...
# 6
Hey!!!The advice was so good!!! I corrected the problem!!!Thanks So Much....i found before other information and they didn't mention the detail of the PATH variable for User and System..
weisea at 2007-7-16 13:47:26 > top of Java-index,Java Essentials,Java Programming...