Re: [tcljava-dev] Why tclblend is not stubs-aware?
Brought to you by:
mdejong
From: Mo D. <mo...@mo...> - 2007-03-14 23:57:06
|
Georgios Petasis wrote: >> > I see. I am using tclblend for only loading Java from Tcl, and this is > why I never noticed any problems > with the stubs-enabled version. I never cross my mind that tclblend > can be used to load Tcl from > Java. How is this accomplished in Java? You somehow load the tclblend > dll and a Tcl interp > gets also created? You write a Java file that imports tcl.lang and creates an Interp. Java will load the Interp class and that will load tclblend.dll and also tcl84.dll in the init code for the Interp class. You just need to make sure the CLASSPATH and the PATH are setup correctly and it will just work. Mo DeJong |