[tcljava-user] TCL error - can't find package java
Brought to you by:
mdejong
From: Sheelu_George <She...@Sa...> - 2006-01-31 15:42:47
|
=20 Hi, =20 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.=20 =20 I am also setting the classpath variable to point to the two jar files namely tclblend.jar and tcljava.jar. =20 I am also setting TCL_LIBRARY, LD_LIBRARY_PATH variables =20 classpath =3D /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: =20 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.=20 =20 can't find package java while executing "package require java " invalid command name "java::load" while executing "java::load com.cs.cli.OLTExtension " =20 =20 =20 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. =20 Thank you. =20 Regards, Sheelu DISCLAIMER: This email (including any attachments) is intended for the sole use of = the intended recipient/s and may contain material that is CONFIDENTIAL = AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or = copying or distribution or forwarding of any or all of the contents in = this message is STRICTLY PROHIBITED. If you are not the intended = recipient, please contact the sender by email and delete all copies; = your cooperation in this regard is appreciated. |