[tcljava-user] TCL error - can't find package java
by Sheelu_George other posts by this author
Jan 31 2006 7:43AM messages near this date
Re: [tcljava-user] Stacktrace
|
Re: [tcljava-user] TCL error - can't find package java
Hi,
I am trying to setup a CLI application in unix. It is using TCLBlend. In
my init.tcl file I am loading an extension class called OLTExtension
using java::load.
I am also setting the classpath variable to point to the two jar files
namely tclblend.jar and tcljava.jar.
I am also setting TCL_LIBRARY, LD_LIBRARY_PATH variables
classpath =
/root/downloads/cs/dist/cli.jar:/root/downloads/cs/dist/commons-codec-1.
3.jar:/root/downloads/cs/dist/commons-httpclient-3.0-rc4.jar:/root/downl
oads/cs/dist/commons-logging.jar:/root/downloads/cs/dist/commons-net-1.4
.0.jar:/root/downloads/cs/dist/jericho-html-1.5-dev1.jar:/root/downloads
/cs/dist/log4j-1.2.8.jar:/root/downloads/cs/tcl/lib/tclblend.jar:/root/d
ownloads/cs/tcl/lib/tcljava.jar:
But when I run the "cli.sh" file I am getting the following error. I
have also set my java path in the path variable.
can't find package java
while executing
"package require java "
invalid command name "java::load"
while executing
"java::load com.cs.cli.OLTExtension "
What do I need to do to solve this error? Do I need to set any more
environment variables? Why is this happening? Please give me an answer.
Thank you.
Regards,
Sheelu
DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipien
t/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any revie
w or reliance by others or copying or distribution or forwarding of any or all of the conten
ts in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please con
tact the sender by email and delete all copies; your cooperation in this regard is appreciat
ed.
Attachments:
unknown1
unknown2
Thread:
Sheelu_George
Mo DeJong
|