This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Where is the jar executable on a Windows system.

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic