Hi Jonathan, that's strange. We speciall set the 'rmic' compiler to RMIC='$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar sun.rmi.rmic.Main' in order to use the original, Oracle version of the compiler which should understand this option. Could you try the following on the command line (with your JDK version): /sapmnt/depot/tools/gen/linuxppc64/licenseware/jse/1.7.0/bin/java -showversion -cp /sapmnt/depot/tools/gen/linuxppc64/licenseware/jse/1.7.0/lib/tools.jar sun.rmi.rmic.Main -d /tmp/rmic_output/ -iiop -v1.2 -standardPackage -verbose javax.management.remote.rmi.RMIConnectionImpl java version "1.7.0" Java(TM) SE Runtime Environment (build pxp6470-20110827_01) IBM J9 VM (build 2.6, JRE 1.7.0 Linux ppc64-64 20110810_88604 (JIT enabled, AOT enabled) J9VM - R26_Java726_GA_20110810_1208_B88592 JIT - r11_20110810_20466 GC - R26_Java726_GA_20110810_1208_B88592 J9CL - 20110810_88604) JCL - 20110809_01 based on Oracle 7b147 [loaded /net/sapmnt.depot/tools/gen/linuxppc64/licenseware/jse/1.7.0/jre/lib/rt.jar(javax/management/remote/rmi/RMIConnectionImpl.class) in 134 ms] [loaded /net/sapmnt.depot/tools/gen/linuxppc64/licenseware/jse/1.7.0/jre/lib/rt.jar(javax/management/remote/rmi/RMIConnection.class) in 60 ms] [loaded /net/sapmnt.depot/tools/gen/linuxppc64/licenseware/jse/1.7.0/jre/lib/rt.jar(java/io/Closeable.class) in 0 ms] [loaded /net/sapmnt.depot/tools/gen/linuxppc64/licenseware/jse/1.7.0/jre/lib/rt.jar(java/lang/AutoCloseable.class) in 0 ms] ... [wrote /tmp/rmic_output/javax/management/remote/rmi/RMIConnectionImpl_Stub.class] [done in 26763 ms] Perhaps you have another version of IBMSDK and/or tools.jar? By the way, while analysing your problem I just realized that our current solution to set RMIC='$(ALT_BOOTDIR)/bin/java -cp $(ALT_BOOTDIR)/lib/tools.jar sun.rmi.rmic.Main' isn't perfect, because as you can see in the above output, not only 'sun.rmi.rmic.Main' is resolved from 'tools.jar' but also the class 'javax.management.remote.rmi.RMIConnectionImpl' for which we we want to create the RMI interfaces. But this class should be resolved from the newly build JDK instead. I first thought I'll have to fix it but on the other hand the problem will disappear once we can bootstrap with our VM. Regards, Volker On Thu, Jul 5, 2012 at 10:24 AM, Jonathan Lu <luchsh@linux.vnet.ibm.com> wrote:
Hello Volker,
I met following problem when trying to build on my Power 5 box, OS is RedHat Enterprise Linux 5, bootstrapping JDK is also IBMSDK 7.
/root/ppc-aix-port/depends/sdk7/bin/java -cp /root/ppc-aix-port/depends/sdk7/lib/tools.jar sun.rmi.rmic.Main -classpath "/root/ppc-aix-port/output_ppc-aix-port_dbg/../output_ppc-aix-port_dbg-debug/classes" \ -d /root/ppc-aix-port/output_ppc-aix-port_dbg/../output_ppc-aix-port_dbg-debug/classes \ -iiop -v1.2 \ -standardPackage \ javax.management.remote.rmi.RMIConnectionImpl -standardPackage is an invalid option or argument.
The "-standardPackage" option does not seem to be supported, but I found this command passed in your build log, have you got any other changes to make this pass?
Many thanks! Jonathan