Save package name to env variable in Java code