Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
You cannot change the value of javaclasspath once the JVM is loaded. Unlike 5.3, 5.4 automatically loads the JVM. According to the documentation adding the switch -nojvm keeps it from loading, but if I put this:
if ( java_init()==1 ) {
message_box("JVM initialized",0)
} else {
message_box("JVM not initialized",0)
}
on the first line of the ACL file pointed to with the APTRC environment variable, it always shows the JVM has been initialized.
I'd like programatic control of which jar files are loaded so I can have a select group of users load QA files prior to a full release. This works under 5.3: I set another environment variable to "qa", test for it in the startup ACL file and load the appropriate jar files. And I don't have to install specific files on each machine; they are loaded off a network drive.
Our clients run on Windows.