My company provides an eclipse based development environment which needs some environment variables setting up for the underlying toolchain so multiple versions can be insta
Link to Eclipse doesn't use the path set in .bashrc
#!/bin/bash source /home/user/.environment_variables /home/user/eclipse_cpp/eclipse -Duser.name="My Name"
2. Next put your all system variables in file /home/user/.environment_variables (any file you want)
My looks like:
export COCOS_ROOT=/home/user/Projects/edukoala
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
3. Now you can delete your variables in .bashrc and put line
source /home/user/.environment_variables
Everything works fine :)