wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes jar command not found (win2k) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jar command not found (win2k)" Watch "jar command not found (win2k)" New topic

jar command not found (win2k)

fred baby

Joined: Jul 09, 2002
Posts: 7
i've installed j2re1.4.... and have seen that java.exe has been copied into the system32 and system folders, however, i still cannot access the "jar" command in the command line in windows2000 (professional). i'm not really sure what to do, i'm trying to create an executable jar, but without the jar command, that's a no-go! help is appreciated.
Steve Chernyak
Ranch Hand

Joined: Oct 19, 2000
Posts: 113
Make sure JAVA_HOME\bin is on the path.
JAVA_HOME = your jdk install dir
Brian Coates
Ranch Hand

Joined: Jul 03, 2001
Posts: 42
It may be because you got the JRE instead of the JDK. I'm not 100% sure, though.. as I've never downloaded the jre.
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Brian's right. (Jessica too, of course. ) The JRE does not allow you to create jar files; you need to get the SDK for that.

"I'm not back." - Bill Harding, Twister
fred baby

Joined: Jul 09, 2002
Posts: 7
success! i installed the SDK, adjusted PATH, and it works. thanks everyone.
I agree. Here's the link: http://aspose.com/file-tools
subject: jar command not found (win2k)
Similar Threads
Jar file
How to run a program contained in a jar file
.war files
spring 404