[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] calling Tcl from Java (starting Java first)

2000-07-21 Thread Mo DeJong
On Fri, 21 Jul 2000, Mike Schwartz wrote: > > Yikes. That is really odd. You might be running into some > > goofy junk related to how the JVM loads shared libs and > > how Tcl loads shared libs. For instance, you need to > > load libtclblend.so in Tcl and in Java (with System.loadLibrary()),

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] calling Tcl from Java (starting Java first)

2000-07-21 Thread Mike Schwartz
> > I decided to give the patch Mo mentioned below a try. It works when I > > try it with Java executing some simple Tcl commands, but now I'm trying > > to use it with some pretty complex Tcl packages, and I get a > > tcl.lang.TclException that says: > > > > couldn't load file "/iw/tc

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] calling Tcl from Java (starting Java first)

2000-07-21 Thread Mo DeJong
On Fri, 21 Jul 2000, Mike Schwartz wrote: > Hi, > > I decided to give the patch Mo mentioned below a try. It works when I > try it with Java executing some simple Tcl commands, but now I'm trying > to use it with some pretty complex Tcl packages, and I get a > tcl.lang.TclException that says: >

[Tcl Java] Re: [Tcl Java] calling Tcl from Java (starting Java first)

2000-07-21 Thread Mike Schwartz
he function *is* defined in the .so file it's accessing. Any ideas what might be going on, or how I might try to debug it? Thanks - Mike > Date: Thu, 20 Jul 2000 09:21:23 -0700 (PDT) > From: Mo DeJong <[EMAIL PROTECTED]> > To: Mike Schwartz <[EMAIL PROTECTED]> &

[Tcl Java] Re: [Tcl Java] calling Tcl from Java (starting Java first)

2000-07-20 Thread Mo DeJong
> Does tclBlend require that Tcl be the first to start? If that's not the > problem, does anyone know what the problem is? My LD_LIBRARY_PATH contains > /usr/local/lib/tcljava1.3.0, which is where my libtclblend.so lives. That is something that should work, but it is rather new and untested and

[Tcl Java] calling Tcl from Java (starting Java first)

2000-07-20 Thread Mike Schwartz
Hi, I am moving away from using the threaded version of Tcl with tclBlend, because of the segmentation fault I mentioned on this list over the past week. However, I would like to see if it's possible for me to have my Java program invoke Tcl scripts. I wrote the following little test program: