[tcljava-user] Jacl Setup: Help requested.
Brought to you by:
mdejong
From: Richard S. <arc...@gm...> - 2007-03-06 20:59:05
|
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... Exception in thread "main" java.lang.NoClassDefFoundError: tcl/lang/TclRuntimeError at testImport.main(testImport.java:7). I couldn't find the class mentioned in the source release so googled the error and file name and found a TclRuntimeException.java file here: http://www.koders.com/java/fidBA376262E5B86423A1B6795FAF916127813F7342.aspx However after compiling and integrating this the error changed to saying that the TclException class was missing... as well as TclInteger among others. Are these known problems? Is there a fix? Why are these files missing in the first place? What I would really appreciate is someone guiding me through the installation, setup and use of Jacl on a Windows XP system if that is at all possble. Please? :) Background: I am a Third year Computer Science & A.I. student at the University of Sheffield, UK.. For my dissertation I am creating an API that will allow users to create Java based interfaces and interact with a tcl-based program that maps audio input to a 2d x,y positions on a screen using an Artifcial Neural Network. Jacl seems the most obvious tool for helping me acheive this. Any help much appreciateed, Richard Shaw |