A new TclBlend 1.4 precompiled binary is available for Windows. The binary is built from Tcl 8.4.13, Tcl Threads 2.6.3, and TclJava 1.4. It provides full interoperability between Tcl and Java through the use of an embedded JVM and supports existing Tcl extensions or packages such as Expect, Tk, Tcllib, TclX, Snack and more.
TclBlend should be backwards compatible with all Tcl Scripts written to the Tcl 8.4.13 specification.
The TclJava extension uses the Java Native Interface to dynamically load a JVM within a C program. The extension was compiled against JAVA 188.8.131.52. The java runtime directory is included with the Tcl distro in the same location as the bin and lib directories. The TclJava binary will only work with the embedded JVM.
The TclBlend java programming API uses JACL syntax however it's different to JACL in that it runs as a C process with an embedded JVM. JACL is a port of the core Tcl command set to java and runs inside the JVM. Changes to the Tcl command set have to be back ported to JACL and non core Tcl packages and extensions are not supported by JACL unless they are re-written in JAVA.
C:\TclBlend\bin\jtclsh.exe oracleJDBCType4.tcl - connect to oracle using a jdbc driver and tclBlend. C:\Program Files\Java\bin\java tcl.lang.Shell oracleJDBCType4.tcl -connect to oracle using a jdbc driver and jacl.
There are no non core packages included with the TclBlend distro however packages like Expect, Tcllib etc can be copied over from an existing Tcl installation. Just put them in the lib directory.
e.g copy to C:\tclBlend140Binary\TclBlend\lib
TclBlend can be installed across machines by simply copying the TclBlend/* directory structure to the target machine.