Update environment and java-basic