Re: [tcljava-user] problem in make install
Brought to you by:
mdejong
From: community h. <hel...@ya...> - 2005-09-16 11:41:43
|
Hi, I reinstalled verything (in case i made a mistake while installing last time). By everything i mean java, msys and jacl. But the problem still persists. --- Mo DeJong <md...@un...> wrote: > On Thu, 8 Sep 2005 04:10:00 -0700 (PDT) > community help <hel...@ya...> wrote: > > > Hi, > > > > when i've run "make install" i had the following: > > ........ > > ......... > > ......... > > Installing jaclsh.bat in /usr/local/bin > > Exception in thread "main" > > java.lang.NoClassDefFoundError:tcl/lang/shell > > Did installing "jaclsh" also fail with the same > error or was it > just the jaclsh.bat file that did not work? Could > you take a > look at the generated jaclsh.bat file and see if > there is something > obviously wrong. The only thing I can think of is > that perhaps jaclsh installed successfully. Here is the content of my jaclsh.bat: -------------------- @echo off setlocal set JAVA=c:/j2sdk1.4.1/bin/java set JAVA_FLAGS= -ms5m -mx22m set PREFIX=C:/msys/jacl1.3.2/NONE set XP_TCLJAVA_INSTALL_DIR=%PREFIX%/lib/tcljava1.3.2 set CLASSPATH=%CLASSPATH%;%XP_TCLJAVA_INSTALL_DIR%/tcljava.jar set CLASSPATH=%CLASSPATH%;%XP_TCLJAVA_INSTALL_DIR%/jacl.jar %JAVA% %JAVA_FLAGS% tcl.lang.Shell %1 %2 %3 %4 %5 %6 %7 %8 %9 endlocal ------------------ > jacl.jar or tcljava.jar were generated incorrectly > and will not > load into the JVM. Could you try setting the > CLASSPATH to > include these jar files and then run "java > tcl.lang.Shell" by hand > to see if that works. Also, what OS and JVM Version > are you using? It didn't work. I'm using Windows XP, java1.4.1, msys_mingw8 and jacl1.3.2. My msys directory does not contain any directory of name usr. Perhaps this is the problem as jacl tries to install in /usr/local/bin? If the problem is my java version can you give me the version with which jacl works well? for the classpath i added a classpath variable to system variables and gave it a value of : c:\msys\jacl1.3.2\jacl, it didn't work then i added it to user variables and it didn't work too. Thank you for your help __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |