[tcljava-user] using tclblend for java1.3.1 in solaris
Brought to you by:
mdejong
From: <mey...@wi...> - 2004-12-28 12:37:03
|
When I do "make test" (or) source tcl file of a demo, tcl blend is not able to initialize and run. I have attached the error that has been thrown when calling simple.tcl of simplepkg demo bash-2.05#make shell=20 To run test: cd /meyya/TclBlend/tclBlend1.3.1/tests ; source all.tcl LD_PRELOAD=3D"" \ LD_BIND_NOW=3D \ PATH=3D/usr/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin= : /bin:/usr/ucb:/usr/ccs/bin:/etc:/opt/oss/app/platform/oracle/product/8.1 .7/bin:/opt/oss/app/bin:/usr/java/bin:/opt/oss/app/platform/netscape:/op t/oss/app/platform/acrobat/bin:/opt/oss/app/platform/netscape/bin:/meyya /TclBlend/tclBlend1.3.1:/meyya/Tcl8.4.9/tcl8.4.9/unix:/meyya/TclThread/t hread2.6/unix:/usr/java/jre/lib/sparc:/usr/java/jre/lib/sparc/native_thr eads \ LD_LIBRARY_PATH=3D/meyya/TclBlend/tclBlend1.3.1:/meyya/Tcl8.4.9/tcl8.4.9/= u nix:/meyya/TclThread/thread2.6/unix:/usr/java/jre/lib/sparc:/usr/java/jr e/lib/sparc/native_threads:/opt/oss/app/platform/oracle/product/8.1.7/li b:/opt/oss/app/platform/oracle/product/8.1.7/lib64:/usr/openwin/lib:/usr /dt/lib: \ SHLIB_PATH=3D/meyya/TclBlend/tclBlend1.3.1:/meyya/Tcl8.4.9/tcl8.4.9/unix:= / meyya/TclThread/thread2.6/unix:/usr/java/jre/lib/sparc:/usr/java/jre/lib /sparc/native_threads:/opt/oss/app/platform/oracle/product/8.1.7/lib:/us r/ccs/lib:/usr/ucblib:/opt/oss/app/platform/oracle/product/8.1.7/jdbc/li b \ KAFFELIBRARYPATH=3D/meyya/TclBlend/tclBlend1.3.1:/meyya/Tcl8.4.9/tcl8.4.9= / unix:/meyya/TclThread/thread2.6/unix:/usr/java/jre/lib/sparc:/usr/java/j re/lib/sparc/native_threads \ TCL_LIBRARY=3D/meyya/Tcl8.4.9/tcl8.4.9/library \ TCLLIBPATH=3D"/meyya/TclBlend/tclBlend1.3.1 /meyya/TclBlend/tclBlend1.3.1/src /meyya/TclThread/thread2.6/unix" \ CLASSPATH=3D.:/opt/oss/app/oem/win/winSnmp.jar:/opt/oss/app/oem/win/winNe= t Logging.jar:/opt/oss/app/platform/oracle/product/8.1.7/jdbc/lib/classes1 2.zip:/opt/oss/app/platform/weblogic/lib/weblogic.jar:/opt/oss/app/oem/j dom/jdom.jar:/opt/oss/app/oem/log4j/log4j.jar:/meyya/TclBlend/tclBlend1. 3.1/btests:/meyya/TclBlend/tclBlend1.3.1/tclblend.jar:/meyya/TclBlend/tc lBlend1.3.1/tcljava.jar \ JAVA=3D/usr/java/bin/java \ BUILD_DIR=3D/meyya/TclBlend/tclBlend1.3.1 \ /meyya/Tcl8.4.9/tcl8.4.9/unix/tclsh % cd demos % cd simplepkg % source simple.tcl There was an error trying to initialize the HPI library. Please check your installation, HotSpot does not work correctly when installed in the JDK 1.2 Solaris Production Release, or with any JDK 1.1.x release. "XpUtils::iload -d /meyya/TclBlend/tclBlend1.3.1 tclblend" failed: JNI_CreateJavaVM failedPerhaps your CLASSPATH includes a classes.zip file for a version otherthan the one Tcl Blend was compiled with? Currently, the CLASSPATH environment variable is set to: .:/opt/oss/app/oem/win/winSnmp.jar:/opt/oss/app/oem/win/winNetLogging.ja r:/opt/oss/app/platform/oracle/product/8.1.7/jdbc/lib/classes12.zip:/opt /oss/app/platform/weblogic/lib/weblogic.jar:/opt/oss/app/oem/jdom/jdom.j ar:/opt/oss/app/oem/log4j/log4j.jar:/meyya/TclBlend/tclBlend1.3.1/btests :/meyya/TclBlend/tclBlend1.3.1/tclblend.jar:/meyya/TclBlend/tclBlend1.3. 1/tcljava.jar=20 What path should I change and how should I change? =20 I tried modifying the classpath in jtclsh, it does not get reflected while calling. =20 I am using tcl 8.4.9, thread 2.6, jdk 1.3.1, tclblend 1.3.1, on solaris 5.9. I compiled the files using gcc3.3.2. =20 Thanks Meyyappan |