Expand my Community achievements bar.

SOLVED

-unpack option in AIX server

Avatar

Level 5

Hi, what is the command i need to use to unpack the jar in AIX server. Here is the error i am getting.

bash-4.2$ java -jar cq-author-4502.jar -unpack
08.04.2016 17:53:12.401 *ERROR* [main] -u: Unrecognized option (use -h for more information)

1 Accepted Solution

Avatar

Correct answer by
Level 5

nevermind, it got fixed. It look like issue with the jar file, copied the jar file from other server and executed -unpack command and it worked.

View solution in original post

6 Replies

Avatar

Level 6

Please try with --unpack (double hyphen)

Avatar

Employee Advisor

Is the cq-author-4502.jar the jar which you've downloaded? Can you post the output of this command:

java -version

the way you've tried looks OK and a JVM is invoked as well. But the result is a bit surprising.

kind regards,
Jörg

Avatar

Level 5

bash-4.2$ java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pap6470_27sr1fp1-20140708_01(SR1 FP1))
IBM J9 VM (build 2.7, JRE 1.7.0 AIX ppc64-64 Compressed References 20140707_205525 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR1_20140707_1408_B205525
JIT  - tr.r13.java_20140410_61421.07
GC   - R27_Java727_SR1_20140707_1408_B205525_CMPRSS
J9CL - 20140707_205525)
JCL - 20140707_01 based on Oracle 7u65-b16

Avatar

Level 5

Already tried before submitting the question in the forum. Same result, no luck

Avatar

Correct answer by
Level 5

nevermind, it got fixed. It look like issue with the jar file, copied the jar file from other server and executed -unpack command and it worked.

Avatar

Employee Advisor

ok, good to know.

Jörg