aspose file tools*
The moose likes Linux / UNIX and the fly likes how to unjar in unix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "how to unjar in unix" Watch "how to unjar in unix" New topic
Author

how to unjar in unix

Sham Jowsaki
Ranch Hand

Joined: May 22, 2001
Posts: 146
hi all,
I need to unjar the jar in unix platform
I was trying like below, it is giving error
"ksh: jar: not found"
$ jar xvf xyz.jar
Pls help me out.
Thanks
regards
jowsaki
patrick tang
Ranch Hand

Joined: Dec 16, 2001
Posts: 44
i think u need to install jar.rpm. mount ur first linux cd and ls INDEX.gz | grep jar.rpm (or some command like that). find the path to jar.rpm and rpm -ivh jar.rpm to install...
Sham Jowsaki
Ranch Hand

Joined: May 22, 2001
Posts: 146
Originally posted by patrick tang:
i think u need to install jar.rpm. mount ur first linux cd and ls INDEX.gz | grep jar.rpm (or some command like that). find the path to jar.rpm and rpm -ivh jar.rpm to install...

Hi,
Thanks. let me try
cheers
jowsaki
Detlef Schulze
Greenhorn

Joined: Mar 17, 2003
Posts: 1
The jar command is distributed with the jdk. The problem you have is that the bin directory of the jdk installation is not in your path.
Don't know abouth ksh but usually you do something like the following:
PATH=$PATH:/path/to/jdk/bin
export PATH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to unjar in unix