On Thu, 11 Nov 1999, David Mosenkis wrote:

As yes, the catch-22 of the binary dist. The binary version is really
designed for people that have used Tcl Blend before. The reason for
this is that you need to set your PATH and CLASSPATH env vars correctly
before Tcl Blend will even load (there are currently two threads about
this issue on comp.lang.tcl). The catch is that most "first timers"
on Windows machines do not have VC++, so they can not download the
source and build it. There is also a nasty bug in the 1.2.5
release of Tcl Blend for Windows which means it will only compile
with Tcl 8.2 using the new autoconf build (this will be fixed,
and I have a patch if anyone wants it, but it is not in the CVS yet).

> I ftp'd tclBlend125-jdk11.zip from the scriptics site.  There are no
> installation instructions, so I extracted the files under c:\program files\tcl. 
> When I run wish or tclsh and type "package require java", I get:
> 
> could not find java.dll, you may need to add the directory where java.dll lives
> to your PATH environmental variable.

You are correct. But this misleading is Tcl's fault. When Tcl tried to
load a windows .dll that requires other .dlls that are not found on
the PATH, it prints "???.dll : invalid argument". When I get some
free time I was going to try to track this one down (I could use
some help if you are interested).
 
> But I think this is a misleading message.  If I cd to the directory where
> tclblend.dll is and try to "load" it, I get:
> 
> couldn't load file "tclblend.dll": invalid argument

Nope, the file is fine. It is the Tcl error message that
is misleading you.
 
> Could this file be corrupt in the distribution?

Yes, the Jacl binary dist is also designed for people that
have used Jacl before. If you are a first time user of
Jacl, you really should grab the source release as it
has all the docs you could ever want. All you really need
to do is set your CLASSPATH to include jacl.jar and tcljava.jar
and then type "java tcl.lang.Shell" at the command line
(of course you need the Sun JDK installed and java.exe of your PATH).

later
Mo DeJong

> Also, are there instructions for how to install and get started with jacl?  I
> ftp'd jacl125.zip, and it just contains 2 files:  jacl.tar and tcljava.jar.
> 
> Thanks,
> Dave Mosenkis

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 

Reply via email to