![]() You can also use launchctl load ~/Library/LaunchAgents/ist to launch it immediately. ![]() The plist will activate after system reboot. Launchctl setenv JAVA_HOME `/usr/libexec/java_home` Or, if you want to use your system-defined JDK: Launchctl setenv JAVA_HOME /path/to/my/project/specific/jdk Next, you have to create a ~/Library/LaunchAgents/ist file: Or, if you want to use your system-defined JDK: launchctl setenv JAVA_HOME `/usr/libexec/java_home`īut this only works for the current session of your machine. ![]() You must define your environment variables in launchctl: launchctl setenv JAVA_HOME /path/to/my/project/specific/jdk bash_profile when launched from Finder.app. On macOS, Android Studio doesn't receive your environment variables defined in your. ![]() It doesn't imply Linux or Windows solutions. On macOS Catalina 10.15.3, you only need to set JAVA_HOME in your shell. For macOS only happens on macOS Mojave 10.14.6. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |