RE: [tcljava-user] Executing tcl script from java using Interp,need , ,help about classpath
Brought to you by:
mdejong
From: W. J. G. <gu...@ea...> - 2001-04-01 04:25:43
|
I'm confused. We've been doing just this for months and it's been working fine. We have a Java process that loads and uses TclBlend and it's Interp and Notifier. Am I missing something? john > -----Original Message----- > From: tcl...@li... > [mailto:tcl...@li...]On Behalf Of Mo DeJong > Sent: Saturday, March 31, 2001 5:36 PM > 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 |