Mo Dejong 29-July-2005
Inspired by Building JACL with msys I try to do my part to advance the cause of TclJava.
In this page I will try to relate some (hopefully) useful information for any other newish tclers who might want to try TclBlend on Windows. (Based on my experience trying to get it working)
These steps are for TclBlend 1.3.3, the current stable release.
Third (Install JDK):
Fourth (Build Tcl):
Fifth (Optionally Build Tk):
Sixth (Build Thread package):
Seventh (Build Tcl Blend):
NOTE: In the Tcl Blend build the path /c/j2sdk1.4.2 is used. This is a unix style path alias for C:/j2sdk1.4.2. If your JDK install is in another location then you would need to pass another path. For example, a JDK installed in C:/jdk131 would be passed as --with-jdk=/c/jdk131. Note also that the client VM is used by default.
NOTE: At this point Everything is installed and should be working. You could delete /build and /src if you wanted to. You will find it all in /opt/tclblend (C:\msys\opt\tclblend). Run TclBlend from the msys shell by starting the jtclsh or jwish scripts found in /opt/tclblend/bin. Run TclBlend from a cmd.exe shell or from the Windows explorer via the jtclsh.bat batch file found in C:\msys\opt\tclblend\bin. These scripts will setup all the environment variables needed to run Tcl Blend. Note that Msys + Mingw is required to build Tcl Blend under Windows, but Msys + Mingw is not required once Tcl Blend has been installed.
$ /opt/tclblend/bin/jtclsh % package require java 1.3.3 % exit From the Windows Explorer, double click on jtclsh.bat in C:\msys\opt\tclblend\bin % package require java 1.3.3 % exit
Comments: If you want to use tkcon, it can be run like so:
Run tkcon as:
Once in tkcon do:
package require java