• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to unjar in unix

 
Sham Jowsaki
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic