You need to add the Java lib locations to your PATH. Tcl is trying
to load tclblend.dll which needs java.dll. On JDK 1.2, java.dll also
needs some other dlls that are not located in the same directory!
You should be able to test this by running "nmake -f makefile.vc shell"
and then typing "package require java". The Makefile rule will set
the PATH up correctly, but you will need to add it by hand to your
env. There are also lots of examples of how to fix this problem in
then mailing list archives.

Mo Dejong
Red Hat Inc.

On Sat, 5 Feb 2000, Subhrajyoti Moitra wrote:

> i downloaded the latest tclblend1.2.5 for jdk1.2 ...
> unzipped it in c:\program Files\Tcl\...
> this is where i have tcl8.2 ....
> i then tried to load it ... in the tclsh ..
> % package require java
> 
> it gave me the following error
> 
> "load tclblend.dll" failed:
> couldn't load file "tclblend.dll": invalid argument
> 
> i even moved the .dll file to the lib directory ...
> in this case case it gave me the following error 
> "load c:/Program Files/Tcl/lib/tclblend/tclblend.dll" failed:
>  couldn't load file "C:\Program Files\Tcl\lib\tclblend\tclblend.dll":
> invalid argument
> 
> now what ... i am using jdk1.2 installed in 
> c:\Program Files\jdk1.2
> i am using Tcl/Tk 8.2 for Windows, Binary Distribution
> 
> ----------------------------------------------------------------
> 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]'. 
> An archive is available at http://www.mail-archive.com/tcljava@scriptics.com
> 


----------------------------------------------------------------
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]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to