JVM complains on GCAM launch about java.system.class.loader property #293
Unanswered
MincingWords
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've got GCAM 6.0 built on Gentoo Linux but I'm running into a problem when I try to run it:
I suspect the two things are related - specifically, the former is causing the latter.
Line 320 of .../objects/reporting/source/xml_db_outputter.cpp says this
options[ 1 ].optionString = const_cast<char*>( "-Djava.system.class.loader=WildcardExpandingClassLoader" );
so that is apparently where the property is being set.
Meanwhile, XMLDBDriver.jar is in /opt/gcam-core-gcam-v6.0/exe and my user CLASSPATH is set to
/opt/gcam-core-gcam-v6.0/exe/*:/opt/gcam-core-gcam-v6.0/cvs/objects/java/source/*
so if I'm understanding this correctly the XMLDBDriver class ought to be getting picked up and I assume would be if not for the setting of the java.system.class.loader property.
I figured I'd better put something about this here instead of just screwing around with xml_db_outputter.cpp and rebuilding because I really don't know how to change it to make everything happy. Advice?
Beta Was this translation helpful? Give feedback.
All reactions