I get the same problem with version 1.5.0.
To summarize: According to the documentation, (user-homedir-pathname) should return the value returned by System.getProperty("user.home"). That is what I am checking.
- My test Java code call System.getProperty("user.home") to returns: "C:\Users\977315"
- (user-homedir-pathname) returns: "C:/WINDOWS/system32/config/systemprofile/"
- This is the home directory of account S-1-5-18
- I want to call System.getProperty("user.home") from ABCL,
- (jcall "getProperty" "System" "user.home") gives error
- (jclass "System") returns error: Class not found
I don't think it is a bug, but suspect something in my user setup (as maintained by the IT department).
I tried (user-homedir-pathname) in ABCL called from the command line. I get the same incorrect answer whether the Command window is ran as Administrator or not. So I want to examine in greater detail the environment in which ABCL is running by calling System.getProperty.
Mirko