You can add an environment variable for the Java version too,
QIBM_RPG_JAVA_PROPERTIES. The value would be "-Djava.version=1.5".
There is also an environment variable to that you can specify the path
to the SystemDefaults.properties file too.
So I guess I would probably just store the ADDENVVAR command with the
appropriate value in a table or a stream file and use a native program
to execute the command. I generally us a CL to set-up the classpath
anyway, but I'm not sure if you are doing that or not.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.