How to call System.getProperty("user.home") from ABCL

Mirko Vukovic mirko.vukovic at gmail.com
Fri Jun 16 23:51:28 UTC 2017


Hello,

after a recent update of my company Windows 10 laptop, ABCL 1.4 is landing
me in an incorrect home directory.  Before I contact our support I would
like to investigate the problem a bit more.  This is how far I got:

(user-homedir-pathname) returns
#P"C:/WINDOWS/system32/config/systemprofile/"

I wrote a little Java snippet to test "user.home"
public class UserHome {

    public static void main(String[] args) {
        System.out.println(System.getProperty("user.home"));
    }

}

and it returns, correctly, "C:\Users\977315"

I don't know how to call System.getProperty("user.home") from ABCL.

I have multiple Java's on my laptop, and I need to doublecheck that my
tests are self-consistent.  But in the meantime, how do I call
System.getProperty?

Thanks,

Mirko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/armedbear-devel/attachments/20170616/6f2d0547/attachment.html>


More information about the armedbear-devel mailing list