Linked Questions

6 votes
1 answer
6k views

OSX Android studio's gradle cannot read .bash_profile environment variable [duplicate]

I am having a KEY_STRING as system variable in mac OSX and Windows. Which has absolute path to my keystore. ~/.bash_profile entry would be export KEY_STRING =~/config/release-signing.keystore Same ...
Mahendran's user avatar
  • 2,719
0 votes
2 answers
190 views

How can I establish "shared" variables for all Bash instances on a machine? [duplicate]

How can I establish these shared variables forever on all Bash instances? export PATH=/Developer/NVIDIA/CUDA-5.5/bin:$PATH export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-5.5/lib:$DYLD_LIBRARY_PATH
Marc Ortiz's user avatar
  • 2,432
1 vote
1 answer
304 views

Setting up my bashrc environment on terminal [duplicate]

How can I get /Users/username/depot_tools to be apart of the list when I enter the command echo $PATH. Currently this is what terminal gives me: MacBook-Pro:~ bianca$ echo $PATH /usr/local/bin:/usr/...
Bianca's user avatar
  • 11
0 votes
0 answers
131 views

Environment variables Mac OS Sierra location [duplicate]

I'm trying to set global environment variables in my mac so that they can be seen from anywhere. I've tried setting them in both /profile and /.bash_profile but still when I run my script from blender ...
Tak's user avatar
  • 3,636
0 votes
0 answers
149 views

Set a global/system wide environment variable based on value of connected monitor in macOS? [duplicate]

I would like to have an environment variable set based on whether a particular screen is connected to a macbook. This would allow the font size in the Terminal (Kitty) to be automatically changed ...
Ben Frain's user avatar
  • 2,568
624 votes
34 answers
411k views

How to create a release signed apk file using Gradle?

I would like to have my Gradle build to create a release signed apk file using Gradle. I'm not sure if the code is correct or if I'm missing a parameter when doing gradle build? This is some of the ...
Jan-Terje Sørensen's user avatar
573 votes
21 answers
1.1m views

Setting Environment Variables for Node to retrieve

I'm trying to follow a tutorial and it says: There are a few ways to load credentials. Loaded from environment variables, Loaded from a JSON file on disk, The keys need to be as ...
user1107173's user avatar
  • 10.8k
545 votes
16 answers
906k views

Set environment variables on Mac OS X Lion

When someone says "edit your .plist file" or "your .profile" or ".bash_profile" etc, this just confuses me. I have no idea where these files are, how to create them if I have to do that, etc, and also ...
Anders's user avatar
  • 12.8k
215 votes
11 answers
299k views

Environment variables in Mac OS X

Update: The link below does not have a complete answer. Having to set the path or variable in two places (one for GUI and one for shell) is lame. Not Duplicate of: Setting environment variables in OS ...
Abdullah Jibaly's user avatar
126 votes
19 answers
82k views

rJava load error in RStudio/R after "upgrading" to OSX Yosemite

I recently "upgraded" from OSX Mountain Lion to Yosemite and from R 3.1.3 to 3.2. Immediately after the upgrade, when I opened R or RStudio I got a pop-up message saying that I needed to install Java ...
eipi10's user avatar
  • 94.5k
182 votes
15 answers
357k views

Is there any way to set environment variables in Visual Studio Code?

How can I set up environment variables in Visual Studio Code?
Shakti Kumar Das's user avatar
207 votes
9 answers
149k views

Setting environment variables via launchd.conf no longer works in OS X Yosemite/El Capitan/macOS Sierra/Mojave?

It looks like the launchd.conf does not load my environment variable anymore. Has anyone else noticed that? Is there another solution to permanently set environment variables?
Tosh's user avatar
  • 2,147
78 votes
15 answers
156k views

Invalid JDK configuration found, while importing a project via Gradle

I have installed IntelliJ and I need to import a Gradle project. I have build the gradle project using command prompt with the gradlew build command. At the IntelliJ welcome page, I have proceeded ...
Sanuj's user avatar
  • 1,167
97 votes
13 answers
348k views

How can I globally set the PATH environment variable in VS Code?

I'm defining a custom $PATH environment variable in my ~/.bash_profile (on a Mac), like so: PATH="$HOME/.cargo/bin:$PATH:$HOME/bin" However, VS Code of course does not run my .bash_profile, ...
Jo Liss's user avatar
  • 33.8k
118 votes
9 answers
99k views

After Installing Java JDK 7 For Mac OS X - mvn -version still shows java version 1.6.0_31

Oracle released Java JDK 7 on April 26 for Mac OS X. I followed the install instructions and when I do java -version in a terminal window I get: java version "1.7.0_04" Java(TM) SE Runtime ...
Bruce Phillips's user avatar

15 30 50 per page
1
2 3 4 5
10