Add java to packages