Hello,
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.
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/