I am a newbie in Jython scripts. I am trying to add the directories to my local JVM classpath in IBM WAS 6.1 server. I have more than one directory which I tried appending with semicolon ';' but when I actually look in the class path once the script is executed, it takes it as newline. There is no script error. See the code below.
b = u"D:/ExternalProperties;C:/apps/CommonFiles"
#This does't work as expected
AdminTask.setJVMProperties( "" )
THis code displays the correct path with semicolon when print is executed but doesn't show correctly in the class path.
So I tried the following scripts on different Websphere path variables. The code below works fine and I see the result as expected.
a = u'C:\\Progra~1\\ibm\\SQLLIB\\java'
a = a + u';'
a = a + u'd:\\temp'
#THis works fine
- THis works fine
I am running this on Windows XP with IBM WAS 6.1 server. Please let me know if you have seen this issue before and any suggestions to make the code work.