2

How to define global/system variable in OSX latest versions (Monterey/Ventura) that should be visible from console (JVM) and IDE (preferable Eclipse, IntelliJ has special knowledge how to handle this OSX riddle)?

I tried the following:

  1. Classical .bashrc/.bash_profile file (export foo=ABC). It works fine for JVM in console, but not for Eclipse
  2. launchctl setenv foo ABC. It doesn't work for both

I have very simple task - provide per laptop a path to a folder that must be accessible from development and test environments and the only option that I've is to define it twice :(

1

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.