How to reflect env profile to GUI apps on macOS


What’s your favourite DLT product?
Me? R3 Corda, and v2.0 was released recently!

I had some trouble when I developed on IntelliJ IDEA.
Although I exported JAVA_HOME in .bashrc, it wasn’t reflected to GUI app(IDEA).

Please see the following steps.

Step1. set JAVA_HOME in your .bash_profile

  • run: source ~/.bash_profile

Step2. make


Step3. make osx-env-sync.plist


Step4. change mode the file to executable

Step5. make these preference valid

Done! Please check if your GUI apps can read JAVA_HOME!!
I hope this article could be useful.

Leave your comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: