cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

set javaclasspath in ACL w/ 5.4

TedMead
1-Newbie

set javaclasspath in ACL w/ 5.4

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.

0 REPLIES 0
Top Tags