how to allow Java System library to access a variable defined in .zprofile?

93 Views Asked by At

So I am trying to use spring tools along with maven to develop java applications on a mac system using zsh. Invoking System.getenv(var_name) returns null, it is clear to me that System library can't access variable defined in .zprofile on my mac, is there any way I canget this accomplished? thank you

0

There are 0 best solutions below