Is OpenJDK supported with RTC Client/scmtools 6.0.1?
I am setting up a Maven Build continuous integration environment, and one problem we have found is that when we are building our maven projects using OpenJDK and SCMTOOLS 6.0.1, when we perform "Maven Release Cycle" (mvn release:prepare release:perfrom), we get the following error:
[ERROR] Error: Unrecognized option: -Xshareclasses:nonfatalWe do not get this error if we use RTC 4.0.6 or if we use IBM JDK. This leads me to believe that there is something that was introduced in 6.0.1 that perhaps requires IBM JDK. [DEBUG] ErrorConsumer.consumeLine: -vm /usr/lib/jvm/java-1.8.0-openjdk.x86_64/bin/java [DEBUG] ErrorConsumer.consumeLine: -vmargs [DEBUG] ErrorConsumer.consumeLine: -Xmx512m [DEBUG] ErrorConsumer.consumeLine: -Xshareclasses:nonfatal [DEBUG] ErrorConsumer.consumeLine: -Xquickstart [DEBUG] ErrorConsumer.consumeLine: -Dosgi.requiredJavaVersion=1.6 [DEBUG] ErrorConsumer.consumeLine: -Xdump:system:events=systhrow,filter=java/lang/OutOfMemoryError,request=exclusive+prepwalk [DEBUG] ErrorConsumer.consumeLine: -jar /usr/local/jazz-6.0.1/scmtools/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar I am not finding any documentation for the parameter "-Xshareclasses:nonfatal" existing in openJDK, while it clearly is documented in IBM JDK. It is not a parameter that we specify, it is being generated by the scmtools. If this is a known issue, or if OpenJDK is not supported can you please point me to the documentation? Thanks, James Murphy |
Accepted answer
You have to edit out the IBM jvm only parms from the eclipse profile
James Murphy selected this answer as the correct answer
Comments
James Murphy
commented May 24 '16, 1:49 p.m.
Thank you! Didn't know where to look to be able to comment out those options, finally found it in the file "scmtools/eclipse/scm.ini"
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.