Properly set paths for java 6