From: Ken A. <kan...@bb...> - 2004-09-22 18:27:48
|
Great! What parts of slib are you using? At 02:10 PM 9/22/2004 -0400, Cyrus Neah wrote: >thanks a lot..that did it > >Ken Anderson wrote: >> >>OK, slib/jscheme.init is not in 6.1. Try downloading the latest version from here: >> >><http://jscheme.sourceforge.net/jscheme/doc/userman.html#downloadjar>http://jscheme.sourceforge.net/jscheme/doc/userman.html#downloadjar >> >>Also you should join the jscheme mailling list if you haven't already. >> >>k >>At 12:37 PM 9/22/2004 -0400, Cyrus Neah wrote: >> >>> >>>i invoked it like this: >>> >>>java -classpath "lib/jscheme.jar;lib/slib3a1.zip" jscheme.REPL slib/jscheme.init >>> >>>and this is what i get: >>> >>>** WARNING: (load) can't open "slib/jscheme.init" >>>Jscheme 6.1.0 3/7/2003 <http://jscheme.sourceforge.net>http://jscheme.sourceforge.net >>> >>> >>>...Jscheme loads but can't find slib/jscheme.init >>>(jscheme.init does not exists in the slib3a1.zip file ) >>> >>>Ken Anderson wrote: >>> >>>> >>>>What i'd do is see if you can get slib working inside jscheme first. >>>>You don't need the template.scm file. just load slib/jscheme.init. >>>> >>>>k >>>>At 01:18 AM 9/22/2004 -0400, Cyrus Neah wrote: >>>> >>>> >>>>> >>>>>Thanks for the reply, >>>>> >>>>>I invoke jscheme from my java app this way: >>>>> >>>>>JS.load(new java.io.FileReader("myfile.scm")); >>>>> >>>>>How do I get slib to work when I invoke jscheme from a java class. Also do I have to create >>>>>jscheme.init from the template.scm in <http://swiss.csail.mit.edu/ftpdir/scm/slib3a1.zip>slib3a1.zip? I can not find in the <http://swiss.csail.mit.edu/ftpdir/scm/slib3a1.zip>slib3a1.zip file. >>>>> >>>>>I am using jschem6.1 from 9jschem_6_1.zip). >>>>> >>>>>thanks >>>>> >>>>> >>>>> >>>>>Ken Anderson wrote: >>>>> >>>>> >>>>>> >>>>>>At 08:15 PM 9/18/2004 -0400, Cyrus Neah wrote: >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>>Hi >>>>>>>I wonder if you could help me. I have been trying to get familiar with jscheme. I can't get SLIB to work. I can't find the jscheme.init and I am having problems customizing the template.scm to work with jscheme. Any suggestions? >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>>This works for me on windows: >>>>>> >>>>>>java -classpath "lib/jscheme.jar;lib/slib3a1.zip" jscheme.REPL slib/jscheme.init >>>>>> >>>>>>How are you invoking jscheme? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>>Also I get : >>>>>>>SchemeException:[[ERROR: undefined variable "use-module"""]] >>>>>>>when I use "use-module". I don't get any errors when I use (environment-import FILENAME) >>>>>>>but documentation says (environment-import FILENAME) is deprecated. >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>>I don't know why this would happen. Make sure you're using the most recent Jscheme. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>>Any pointers would be appreciated. Thanks for your time >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>> >>>> >>>> >>>> >>>> >> >> >> >> |