Home »
Public Forums »
archive »
Re: Setting CLASSPATH for IDL-Java bridge session
Re: Setting CLASSPATH for IDL-Java bridge session [message #43196] |
Wed, 16 March 2005 08:55 |
Michael Wallace
Messages: 409 Registered: December 2003
|
Senior Member |
|
|
> Is there any way to programmatically set the JVM Classpath for an
> IDL-Java bridge session? I've tried a SETENV, 'CLASSPATH=...' and I've
> also tried instantiated a java.lang.System object and set the property
> java.class.path. I then tried to instantiate my own java object and it
> doesn't find the class. The only way I seem to be able to set the
> classpath is via the .idljavabrc. Thanks for any advice.
The only way I know to set the classpath is through the .idljavabrc file
using the "JVM Classpath" option. For some reason RSI chose to use
their own "JVM Classpath" rather than automatically use Java's
$CLASSPATH. No matter what you do with the $CLASSPATH variable or
system properties, you'll still run into the same problem because the
problem isn't with Java knowing its own $CLASSPATH, but rather that IDL
needs to have the info for some reason.
One thing you might try to do is use the .idljavabrc as you would
normally and then instantiate java.lang.System take a look at the
properties and see if there are any extra properties or changes to
java.class.path. Who knows what IDL may be doing behind the scenes.
-Mike
|
|
|
Current Time: Sat Oct 11 14:15:30 PDT 2025
Total time taken to generate the page: 0.23974 seconds