Jar command not available

Hi,

I have a new Java programmer and I have installed the following software onto my PC:

1) Java SE Development Kit 6u1 and NetBeans IDE 5.5.1 Bundle

2) Sun Java Toolkit 1.0 for CDC

3) JBuilder 2005 Foundation

Now, I am trying to make a "jar" file with the following command:

" jar -cf test.jar *.class "

And my system reports the following:

" 'jar' is not recognized as an internal or external command, operable program or batch file. "

I have Java SDK, and IDE installed in my PC, and yet "jar" is not available. How could this be possible? What happen? Kindly advice, please!

Regards,

wee

[667 byte] By [thinkfly2007a] at [2007-11-27 6:56:59]
# 1

jar is an executable in your JDK installation directory that needs to be pointed to or else it will not recognize it.

You can specify the bin directory of your JDK in your PATH environment variable or simple type an absolute path to jar.exe in the commandline.

"C:\Program Files\[jdk directory]\bin\jar" -cf test.jar *.class

maple_shafta at 2007-7-12 18:34:07 > top of Java-index,Desktop,Deploying...