As of Java/iX 1.1.7 the quotation marks are no longer required. It might be helpful to place a command file like the one given below somewhere along your HPPATH (only jar example shown)::java "sun.tools.jar.Main -tvf mytest.jar" :java "sun.tools.javadoc.Main -author -version MyClass"
Calling the above command file should allow the following use:anyparm x java "sun.tools.jar.Main !x"
Notice the use of anyparm to prevent the need for enclosing "". ^ Last changed on Mon Mar 29 17:05:45 1999 by Lars Appel:jar -tvf mytest.jar
You will also this error if you attempt to run Java without PH capability from within the POSIX shell. ^ Last changed on Tue Mar 30 15:26:09 1999 by Mike Yawn:xeq /bin/chmod "755 /lib/libc.sl /lib/libm.sl" :xeq /bin/chmod "755 /usr/lib/libsocket.sl"
The same code compiles fine with the unsupported GNU gcc. The HP C/iX compiler (at least at present) does not seem to support the "long long" data type. The following workaround might get you around the error, but -of course- it might not be a good idea, if jlong variables or parms are actually used... Tweak for /usr/local/java/latest/include/mpe/jni_md.h file:cc: "/usr/local/java/jdk1.1.5/include/mpe/jni_md.h", line xx: error 1642: Duplicate type specifier "long": ignored.
You might prefer to create a local copy of jni.h and jni_md.h and tweak that copy instead of the original file. Just make sure to make those copies visible along your include file path (for example by adding a -I. compiler option). (also see SR 1653288555 in HP's bug tracking system) ^ Last changed on Wed Aug 18 05:35:13 1999 by Lars Appel#ifdef __GNUC__ typedef long long jlong; #else typedef double jlong; #endif