[slime-devel] Kawa Support

Helmut Eller heller at common-lisp.net
Sun Oct 12 13:22:33 UTC 2008


* Volkan YAZICI [2008-10-12 10:12+0200] writes:

> On Sat, 11 Oct 2008, Helmut Eller <heller at common-lisp.net> writes:
>> I don't think that swank-kawa.scm runs in 1.9.1. You need the SVN
>> version of Kawa. In 1.9.1 "1st" was parsed differently.
>
> When I saw 2007 date at the beginning of the swank-kawa.scm, I thought
> that the latest SVN tip dependency should have been deprecated. But it
> seems to be not.
>
> This can be a trivial problem, but I still couldn't manage to compile
> swank-kawa.scm using kawa:
>
>   rlwrap java \
>       -classpath /home/vy/usr/share/java/kawa.jar:/usr/local/java/jdk/1.6.0_06/lib/sa-jdi.jar \
>       -Xdebug \
>       kawa.repl
>   #|kawa:1|# (compile-file "/home/vy/elisp/slime/contrib/swank-kawa.scm" "swank-kawa")
>   java.lang.RuntimeException: no such class: com.sun.jdi.Location
>           at gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:125)
>           at gnu.bytecode.ClassType.addFields(ClassType.java:581)
>           at gnu.bytecode.ClassType.getFields(ClassType.java:485)
>           at gnu.bytecode.ClassType.getDeclaredField(ClassType.java:499)
>           at gnu.bytecode.ClassType.getField(ClassType.java:518)
>           at gnu.kawa.reflect.SlotGet.lookupMember(SlotGet.java:209)
>           at kawa.lang.Translator.rewrite(Translator.java:641)
>           ...
>
> Suprisingly google returned nothing for quoted "no such class:
> com.sun.jdi.Location". What might I be missing in the above "Sun JVM
> with debugger support"?

com.sun.jdi.Location is probably in JAVAHOME/lib/tools.jar not in sa-jdi.jar.

Helmut.






More information about the slime-devel mailing list