Correctly parse java_location

Fix for issue #10