On 01/07/2015 12:15 PM, Roman Kennke wrote:
Hi there,
I'm sending to this mailing list as it seems likely to me to be a
problem related to Jigsaw (not sure).
I try to run SpecJVM2008 using a recent JDK9 checkout. When I pass
-Xbootclasspath/p:lib/javac.jar (which is required for SpecJVM2008
currently to run with OpenJDK) I get:
Fatal Error: Unable to find package java.lang in classpath or
bootclasspath
It works with OpenJDK8.
The full command to run SPECjvm2008 is:
images/jdk/bin/java -Xms1g -Xmx1g -jar SPECjvm2008.jar -ikv
compiler.compiler compress crypto.aes crypto.rsa crypto.signverify derby
mpegaudio scimark.fft.large scimark.lu.large scimark.sor.large
scimark.sparse.large scimark.fft.small scimark.lu.small
scimark.sor.small scimark.sparse.small scimark.monte_carlo serial
sunflow xml.transform xml.validation
Is there a known issue related to bootclasspath handling in JDK9? Or
maybe something changed and I'm doing it wrong?
Regards,
Roman
Roman,
From the message, I would say that the javac in javac.jar is trying to
access the platform classes, and not recognizing that they are now in
the platform image instead of rt.jar.
You need to either change your copy of javac, or else make it so that
when you run javac from SPECjvm2008, you specify a -bootclasspath
pointing to a suitable copy of rt.jar.
-- Jon