RE: [tcljava-user] Executing tcl script from java using Interp,ne ed , ,help about classpath
Brought to you by:
mdejong
From: Sai G. M N <Sai...@PL...> - 2001-04-02 06:34:21
|
Hi We have been doing just this for so many months now. I am creating a TCK interpreter inside an Enterprise Java Bean and using this interp instance to run many TCL scripts. It is working perfectly ok. And I am still using the 1.2.6 version. I am not sure of any patches. I have not applied any patch specifically. But I do not know if some patch was inbuilt into the code I downloaded. How do I know what patch am I using? Sai > -----Original Message----- > From: Mo DeJong [SMTP:md...@cy...] > Sent: Sunday, April 01, 2001 7:06 AM > To: tcl...@li... > Subject: Re: [tcljava-user] Executing tcl script from java using > Interp,need , ,help about classpath > > On Fri, 30 Mar 2001, Ying Jin wrote: > > > We created a Java program that has these lines of code. The code does > not work for us and the problem appears to be the line that creates the > new Interp object. > > > > We want to be able to call Interp.eval( ) from the Java program, sending > it either a filename with tcl script or a string with a tcl command. The > eval method of the Interp object is documented in the following html file > > from the documentation: > > C:\unzipped\tclBlend126\tclBlend1.2.6\docs\TclJavaLib\Eval.htm > > I hope this clarifies what we are trying to do. At the moment, we are > just trying to get the example from the documentation to work. > > It sounds like you are trying to load Tcl Blend into a JVM process. > That is not supported in the 1.2 release of Tcl Blend. > > > Are you implying that creating and calling Interp from Java does not > work? > > Yes. > > > We are confused when you say "That is all that is supported in version > > 1.2." Do you mean Java 1.2 or TclBlend 1.2? What do you mean by 1.3 > > version in the CVS? > > Tcl Blend 1.2. The 1.3 version in the CVS is a bit closer to working > in this scenario but more testing and debugging is needed. Everything > should work just fine if you start Tcl first and then load the > JVM into a Tcl process. > > Mo > > _______________________________________________ > tcljava-user mailing list > tcl...@li... > http://lists.sourceforge.net/lists/listinfo/tcljava-user |