The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help Required: Command to find IP address and command executed of a user loggedout Security 2 08-06-2008 05:12 PM
awk field not recognized in backquotes voa2mp3 UNIX for Dummies Questions & Answers 4 10-07-2007 02:40 PM
Illegal User Id and User name is not recognized mykvalentin AIX 1 08-22-2006 11:59 PM
I am not being recognized Help Forum Support Area for Unregistered Users & Account Problems 0 01-10-2006 01:30 AM
Argument not recognized as integer scmay Shell Programming and Scripting 1 05-13-2004 11:41 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-06-2008
Registered User
 

Join Date: Dec 2007
Posts: 34
jar command not being recognized

Hi,

I'm trying to extract a war file via the jar command; however, when I issue:

jar -xvf MyWarFile.war

I'm recieving "jar: not found"

I added

/usr/bin to the path ...didn't work

also tried
/usr/bin/jar to the path...still doesn't work

My JAVA_HOME/bin is also in the path.

OS is Sun Solaris.

Can someone tell why jar is not being recognized?

thanks,
Reply With Quote
Forum Sponsor
  #2  
Old 05-06-2008
Registered User
 

Join Date: Dec 2007
Posts: 34
I found the problem...
I did a find on "jar" and /usr/bin/jar was the first thing to show up. This was not the correct jar. I found it under JAVA_HOME/bin. The JAVA_HOME variable that I had originally set in my path was incorrect.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0