On Mon, 25 Oct 1999, Ebert, Tyrone wrote:
> Hello,
This is not really a "supported feature" of the current version of
Tcl Blend. I heard that it worked at one time, but I have never
been able to get it working for me. This is a "planned feature" for
the 1.3 version of Tcl Blend if that helps.
> I seem to have a problem instantiating the tcl Interpreter from a standalone
> Java program (i.e. one that is NOT dynamically loaded from tclsh80)
> It blows up with a run-time Error. Heres a code fragment:
> import tcl.lang.*;
> static public void main ( String [] args) {
> Interp tclInterp = new Interp(); // this blows up :-(
> }
>
> Interp seems to cause an JNI unsatisfiedLinkError and jvm.dll craps
> out when i run the above.
>
> Iam running on NT 4.
> I tried it with TclBlend1.1.1 and Tcl8.0.5 (downloaded from Sriptics)
> I also tried with Tcl8.2.1 and TclBlend1.2.4 which I downloaded and built.
> I tried the jvm.dll and jre in jdk1.2.2. I also tried with JBuilder3
> and got the same results.
>
> I checked tclblend.dll with depends.exe and my path seems ok.
Nope, you are not doing anything stupid, just cutting edge.
Were you able to get this working with an earlier version of
the JDK?
Sorry I can not be of more help.
Mo DeJong
> Any ideas ?? Am I doing something really stoopid?
> Should I be using an earlier jdk version ?
>
> Here the last few lines of dump when I run it with java -verbose:jni
> [Loaded native library D:\apps\tblnd12\tclBlend1.2.4\tclblend.dll]
> [Dynamic-linking native method tcl/lang/Interp.create ... JNI ]
>
> PS I can "load" the tclblend.dll from tclsh80 (or tclsh82d) and run the demo
> examples (which to me, seem to instantiate Interp )
> Thanks
> Tyrone
----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
A list archive is at: http://www.findmail.com/listsaver/tcldallas/