Problem - can't set environment variables when starting ABCL via Slime

Andrew Sengul ml at
Sun Nov 21 16:52:35 UTC 2021

Hello, I'm using ABCL through Emacs with Slime and I'm having trouble
setting bash environment variables needed for Maven to work. Here's what
I have in my ~/.emacs file:

(setq slime-lisp-implementations
      '((abcl ("/usr/bin/java" "-jar"
              :coding-system utf-8-unix
              :env ("JAVA_HOME=/path/to/jdk-12/"

Problem is, the $JAVA_HOME and $PATH variables are not set for the ABCL
process despite putting them here. The environment variables do work
with other CL implementations. When I set them in SBCL, for example, I
can run (uiop:run-program "echo $PATH" ...) and see the extension added
to the path. This doesn't work in ABCL, and I need those extra
environment variables set in order for Maven to work.

Does anyone know a way to fix this? It works for other CLs, so I'm
guessing something particular about ABCL is preventing the variables
from being set. Thanks,


More information about the armedbear-devel mailing list