How to load the jna jar file before cffi?
Mirko Vukovic
mirko.vukovic at gmail.com
Wed May 24 19:51:50 UTC 2017
On Sat, May 13, 2017 at 4:21 PM Mark Evenson <evenson at panix.com> wrote:
>
>
> On 5/12/17 15:36, Mirko Vukovic wrote:
> […]
> > I don't have jna.asd anywhere on my computer
>
> It is packaged as part of `abcl-contrib.jar`.
>
> […]
>
> snip ...
> This indicates that for some reason your installation cannot locate
> abcl-contrib.jar.
>
Summary: abcl-contrib is fine, but there is an issue with Maven (even
though mvn.bat is in path). Details below:
* Loading ABCL- CONTRIB:
Below is the output of my --no-init startup. I compared my output with
yours, and I don't see anything substantially different. Loading
abcl-contrib works fine. The ASDF version is 3.1.7.27.
c:\Users\977315\Documents\projects\software-development\workbooks\gswsql+abcl+cl-dbi>"C:\Windows\sysWOW64\java.exe"
-cp
"c:\mv-program-files\abcl-bin-1.4.0";"c:\mv-program-files\abcl-bin-1.4.0\abcl.jar"
org.armedbear.lisp.Main --noinit
Armed Bear Common Lisp 1.4.0
Java 1.7.0_51 Oracle Corporation
Java HotSpot(TM) Client VM
Low-level initialization completed in 0.279 seconds.
Startup completed in 3.79 seconds.
Type ":help" for a list of available commands.
CL-USER(1): ; Loading
C:/Users/977315/.emacs.d/elisp/slime/swank-loader.lisp ...
; Loaded C:/Users/977315/.emacs.d/elisp/slime/swank-loader.lisp (3.379
seconds)
;; Swank started at port: 60222.
60222
CL-USER(2):
CL-USER(2): (require :abcl-contrib)
Using probed value of abcl-contrib:
'C:/mv-program-files/abcl-bin-1.4.0/abcl-contrib.jar'.
Added
jar:file:C:/mv-program-files/abcl-bin-1.4.0/abcl-contrib.jar!/quicklisp/ to
ASDF.
Added jar:file:C:/mv-program-files/abcl-bin-1.4.0/abcl-contrib.jar!/mvn/ to
ASDF.
Added jar:file:C:/mv-program-files/abcl-bin-1.4.0/abcl-contrib.jar!/jss/ to
ASDF.
Added jar:file:C:/mv-program-files/abcl-bin-1.4.0/abcl-contrib.jar!/jfli/
to ASDF.
Added
jar:file:C:/mv-program-files/abcl-bin-1.4.0/abcl-contrib.jar!/asdf-jar/ to
ASDF.
Added
jar:file:C:/mv-program-files/abcl-bin-1.4.0/abcl-contrib.jar!/abcl-asdf/ to
ASDF.
("uiop" "UIOP" "asdf" "ASDF" "ABCL-CONTRIB")
CL-USER(3):
* Loading QUICKLISP, CFFI, leading to Maven error
Once I load quicklisp, I try loading CFFI, where I get
; Caught SIMPLE-WARNING:
; Unable to locate Maven executable to find Maven Aether adaptors.
mvn.bat is in my path. I can execute it from the Command shell. I really
poorly understand Java setup, and its environment.
Also from within ABCL:
(uiop/run-program:run-program '("where" "mvn.bat") :output :string)
"C:\\Program Files\\apache-maven-3.3.9\\bin\\mvn.bat
"
NIL
0
A few more details on how you have installed ABCL locally and how you
> are invoking it would be helpful (i.e. "I downloaded abcl-1.4.0-bin.zip;
> unzipped in a directory, and I invoke it with this command").
>
I don't recall how I installed it, although it was not straightforward.
For example, I extracted the startup bat file from the online repository
and formatted it so it would work.
>
>
> --
> "A screaming comes across the sky. It has happened before, but there
> is nothing to compare to it now."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20170524/3a5b93f7/attachment.html>
More information about the armedbear-devel
mailing list