Ladies and Gentlemen,
I've been trying to run ABCL with JSS. I load ABCL then I try to '(load "invoke.lisp")'. I always get an error
Peters-MacBook-Pro:bin pcolsen$ java -cp jscheme.jar -jar abcl-1.0.0.jar Armed Bear Common Lisp 1.0.0 Java 1.6.0_29 Apple Inc. Java HotSpot(TM) 64-Bit Server VM Low-level initialization completed in 0.315 seconds. Startup completed in 1.06 seconds. Type ":help" for a list of available commands. CL-USER(1): (load "invoke.lisp") Error loading /Users/pcolsen/bin/invoke.lisp at line 194 (offset 8509) #<THREAD "interpreter" {1DC2DAD7}>: Debugger invoked on condition of type ERROR Class not found: jsint.Invoke Restarts: 0: TOP-LEVEL Return to top level. [1] CL-USER(2):
I the past several years I have used Java only to support ABCL, so I may be making some simple mistake that I have not the wit to recognize. Please feel free to tell me to RTFM, but please give me a hint about what part of TFM I should R.
Thanks!
Peter
Peter Olsen pcolsen@gmail.com
Scientists study the world; engineers change it.
On Dec 23, 2011, at 8:03 AM, Peter Olsen wrote:
Ladies and Gentlemen,
I've been trying to run ABCL with JSS. I load ABCL then I try to '(load "invoke.lisp")'. I always get an error
Peters-MacBook-Pro:bin pcolsen$ java -cp jscheme.jar -jar abcl-1.0.0.jar Armed Bear Common Lisp 1.0.0
'-cp' and '-jar' are mutually exclusive options, so one needs to add 'jscheme.jar' on the CLASSPATH via
osx$ CLASSPATH=/path/to/jscheme.jar java -jar abcl-1.0.0.jar
A rewritten version of JSS (jss-3.0) that no longer needs jscheme.jar or the BSH jar is now included in ABCL (and therefore wouldn't need to find the 'jsint.Invoke' Java class which can be loaded via the abcl-contrib mechanism:
CL-USER> (require 'abcl-contrib) CL-USER> (require 'jss)
Unfortunately, we shipped abcl-1.0.0 with this loading broken (and have been too busy to release a followup abcl-1.0.1 to fix it), so to get this to work, one needs to [build ABCL from svn trunk][1].
[1]: http://svn.common-lisp.net/armedbear/trunk/abcl
The version of JSS included with ABCL should be mostly backwards compatible with Alan Ruttenberg's version. All of the JSS symbols have been moved into the new JSS package, but one can enable the old bindings in CL-USER via an invocation of the JSS:ENSURE-COMPATIBILITY. If you have problems with the new JSS, I would definitely welcome bug reports.
armedbear-devel@common-lisp.net