Mo,
Thank you for your help. I added the extra debug line, and the problem is
indeed that it is failing to find java.dll. In fact, I don't have a java.dll
anywhere on my system (even though I have jdk1.1.8 from Sun installed). I
looked on a colleague's machine, and he has java.dll only in his jdk1.2
directory - does this file only exist in java 1.2? It would be odd for tclblend
to require java 1.2 file since I downloaded the version for 1.1.
Anyway, as you surmised before, I don't have VC++ on my PC, but I do have a C
development environment on a Solaris machine, so I've now gone and built
tcl8.2.2 and tclBlend1.2.5 from the source there, and it works fine.
Thanks,
Dave
Moses DeJong wrote:
>
> On Thu, 11 Nov 1999, David Mosenkis wrote:
>
> > I already had JDK bin directory in PATH, and adding classes.zip to CLASSPATH
> > didn't help:
>
> This warning is generated by the loadtclblend proc inside pkgIndex.tcl.
> It seems to indicate that your PATH does not include a directory
> that has a file called java.dll in it. This code should be working so
> my guess is that the file is missing or you have the wrong path in
> your PATH env var. You could add some extra debug output to the
> proc with a patch like this.
>
> --- pkgIndex.tcl 1999/10/22 16:52:25 1.16
> +++ pkgIndex.tcl 1999/11/12 03:36:20
> @@ -304,6 +304,7 @@
>
> foreach shlib $shlibs {
> set file [file join $dir $shlib]
> + puts "looking for file \"$file\", exists is [file exists
> $file]"
>
> if {[file exists $file]} {
> if {$shlibloc($shlib) == ""} {
>
> That should print out the path of each place it looks for java.dll.
> Other folks have gotten the precompiled .dlls to work so it is not
> a lost cause.
>
> later
> Mo DeJong
>
> > % package require java
> > could not find java.dll, you may need to add the directory where java.dll lives
> > to your PATH environmental variable.
> > % set env(PATH)
> > c:\bin;C:\Inprise\vbroker\bin;C:\orant\bin;c:\jdk11\bin;C:\WINNT\system32;C:\WIN
> > NT;C:\PROGRA~1\TCL\bin;c:\jdk1.1.8\bin
> > % set env(CLASSPATH)
> > C:\Program Files\Tcl\lib\tclblend\tcljava.jar;C:\Program Files\Tcl\lib\tclblend\
> > tclblend.jar;\\broadmoor\drive d\tcl\classes;C:\classes;C:\jdk1.1.8\lib\classes.
> > zip
>
> ----------------------------------------------------------------
> 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]'.
----------------------------------------------------------------
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]'.