Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

javavm.createjavavm method doesn't use the classpath argument supplied

33 views
Skip to first unread message

eugenechoi

unread,
Dec 31, 2008, 12:35:00 PM12/31/08
to
Hi,
anyone else notice when you instantiate a javavm object
like:

ps_classpath="c:\someA.jar;c:\someB.jar"
li_return = i_jvm.createjavavm(ps_classpath,true)
debug = i_jvm.getJavaClasspath()

and if you examine the value returned by getJavaClassPath()
you will not see the jars you supplied in createjavavm.

I tested this both in 10.2 and 10.5 and did not work. I also
maded sure to restart the IDE before calling that code to
make sure the jvm was loaded by the app first.

0 new messages