Re: [tcljava-user] Jacl Setup: Help requested.
Brought to you by:
mdejong
From: Mo D. <mo...@mo...> - 2007-03-12 22:26:01
|
Richard Shaw wrote: > Hello, > > I have spent the last week or so trying to install, and use Jacl on a > Windows XP system. When I installed the latest 'binary release' I was > able to run the jaclsh.bat file but my java program would not compile > as it was not able to find the tcl.lang.* package. (I first tried > using the code on the Get Started page but to no avail) > > Only after compiling the source files and then copying the tcl folder > to the same location as my test file was I able to compile a small > program that imports the tcl.lang package and creates a Interp > instance - printing an 'OK' message one it's done that. When I run the > program however it returns the error... Richard, the problem you are having has nothing to do with Jacl. This is a Java CLASSPATH issue. You need to setup the CLASSPATH env var before invoking javac so that both jacl.jar and tcljava.jar appear on the CLASSPATH. You should be able to just download the binary Jacl release and use it as is. Please post another message if you are still having problems after the CLASSPATH is setup properly. cheers Mo DeJong |