Hi, I realize that this is a dumb question but I really am confused. I downloaded the jdk1.4.1 cobundeled with Sun One and the jar executable is under C:\Program Files\s1Studio_jdk\j2sdk1.4.1\bin. So I had no problem finding it. However on another system I just downloaded the JSE v1.4.1_02 Windows english only from http://java.sun.com/j2se/1.4.1/download.html. I installed it with no error messages and java works just fine. I tried to use jar and windows could not find it even though I had my class path set to c:\program files\java\jre1.4.1_02\bin. I did a search on the second machine looking for a jar application and there isn't one there! I searched Sun's web site looking for a seperate download for jar and could't find one. So where would I find a jar download? I'm shocked it was not part of JSE v1.4.1_02. Any ideas?
jar.exe is certainly in in c:\j2sdk1.4.1_02\bin, I just checked. There is no jar.exe in c:\Program Files\Java\j2re1.4.1_02\bin and that's where it installs the JRE. Or in the j2re1.4.1_01\bin, or in j2re1.4.0\bin. So to get jar.exe you have to install the full j2sdk1.4.1_02 kit I guess.
Note that jar.exe is a development tool and it is a program - it's not a class file. So, being able to run jar.exe has nothing to do with the classpath setting - it has to do with the path setting. Also, as Barry pointed out, it is included with the J2SDK not with the JRE (remember it's a development tool).