1833777 Members
2285 Online
110063 Solutions
New Discussion

jar files

 
oiram
Regular Advisor

jar files

Hello:

I have three jar files of a third party program. Whenever I try to execute the program:

java -jar -cp file1.jar:file2.jar:file3.jar file1.jar

I am geeting an error about a class that is missing. If I uncompress the jar file the class is in the location it should be, apart from this if I uncompress the three jar files and execute the next command

java -cp . main_class

the applicacion runs sucessfully. I think the error is in the application itself(PowerChute for HPUX) because I run it in a Windows platform and I get the same error.

Any idea?
1 REPLY 1
Bernhard Mueller
Honored Contributor

Re: jar files

Hello,

if I remember it correctly the APC software required at least JAVA 1.3 which had to be installed first. it installed under
/opt/java1.3 and you may have to make sure to update /etc/PATH in order to point to your latest Java version.

Regards
Bernhard