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]'.