The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
Using Subversion, NetBeans IDE, and Sun Java System Web Server With Java ME iBot UNIX and Linux RSS News 0 02-01-2008 05:00 PM
S-058: HP-UX Running Java JRE and JDK iBot Security Advisories (RSS) 0 12-24-2007 09:40 AM
java.lang.OutofMemoryError in Sun Studio 12 wintersakura SUN Solaris 2 12-19-2007 08:21 PM
Receiving error on Unix server-- java.lang.UnsatisfiedLinkError: registerNatives loveToBlade UNIX for Dummies Questions & Answers 4 08-23-2006 06:00 AM
Running java class with a cron UBGandalf Shell Programming and Scripting 3 10-26-2005 10:31 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-22-2004
ctcuser ctcuser is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 39
java.lang.System when running jar

Hello,
I recieve the following error when trying to run the following command in a ksh. The operating system is AIX5.1.

/usr/bin/jar -xvf {filename}.zip
Can't find class java.lang.System

But when I run it on the command line it unzips the file fine.

Does anybody know why this happens, and how to fix it?
  #2 (permalink)  
Old 06-22-2004
kduffin's Avatar
kduffin kduffin is offline Forum Advisor  
UN1X
  
 

Join Date: Nov 2003
Location: Maryland
Posts: 449
Quote:
But when I run it on the command line it unzips the file fine.
What exactly do you mean? What 'jar' commands are you able to run on the system?

If you have installed truss (packaged with bos.sysmgt.serv_aid) you can trace through the system calls and possibly see where the error lies.

Cheers,

Keith
  #3 (permalink)  
Old 06-22-2004
ctcuser ctcuser is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 39
Thanks for the reply.
I figured out why, the reason is because I had the jar command hard coded in the ksh with /usr/bin/jar. When I use the jar command without the path it works fine.

thanks again,
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0