wrldwzrd89
Member
Not sure if this is a Java bug or a KoLmafia bug. In any case, KoLmafia on Linux, when launched with this option set, uses ~ (your home folder) as the "root". It's supposed to use the folder KoLmafia.jar is in, instead.
It's supposed to use the folder KoLmafia.jar is in, instead.
UtilityConstants has the code for that, if you want to try troubleshooting it.
ROOT_LOCATION = Boolean.getBoolean( "useCWDasROOT" ) ? UtilityConstants.BASE_LOCATION : ...
BASE_LOCATION = new File( System.getProperty( "user.dir" ) ).getAbsoluteFile();
java specification said:Boolean.getBoolean probably doesn't do what you think it does:
Returns true if and only if the system property named by the argument exists and is equal to the string "true".
Thanks.