<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 July 2013 17:00, Alexandre Rademaker <span dir="ltr"><<a href="mailto:arademaker@gmail.com" target="_blank">arademaker@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have tried both System.load and System.loadSystem. Apparently the<br>
problem is how the abcl is initiated:<br>
<br>
Following @Alessio suggestion, that is, using abcl.jar in the<br>
classpath and start the org.arbedbear.lisp.Main, it works:<br>
<br>
urca:java arademaker$ java -Djava.library.path=. -cp<br>
freeling.jar:/usr/local/abcl-bin-1.1.1/abcl.jar<br>
org.armedbear.lisp.Main<br>
Armed Bear Common Lisp 1.1.1<br>
Java 1.6.0_51 Apple Inc.<br>
Java HotSpot(TM) 64-Bit Server VM<br>
Low-level initialization completed in 0.494 seconds.<br>
Startup completed in 2.187 seconds.<br>
Loading /Users/arademaker/.abclrc completed in 9.59 seconds.<br>
Type ":help" for a list of available commands.<br>
CL-USER(1): (jstatic "loadLibrary" "java.lang.System" "freeling_javaAPI")<br>
NIL<br>
CL-USER(2): (jnew "edu.upc.freeling.MacoOptions" "en")<br>
#<edu.upc.freeling.MacoOptions edu.upc.freeling.MacoOptions@716.... {11ACBF5C}><br>
<br>
<br>
But following my original way, that is, start abcl using the -jar<br>
option, it fails!! Why is that? What is the right way to start ABCL?<br></blockquote><div><br></div><div>See eg. <a href="http://manuelselva.wordpress.com/2009/02/10/java-cp-and-jar/">http://manuelselva.wordpress.com/2009/02/10/java-cp-and-jar/</a>.<br>
</div><div>It seems that -jar causes -cp to be ignored...<br><br></div></div><br></div></div>