A set of dynamic variables that can affect the running processes.

learn more… | top users | synonyms

2
votes
2answers
68 views

What exactly should I set as JAVA_HOME?

I am trying to make Tomcat 7 working with Eclipse, and I am not sure if my JAVA_HOME is correct. ~$ echo $JAVA_HOME /usr/lib/jvm/default-java And there is no such catalog! I only have: ~$ ls ...
2
votes
2answers
3k views

When I use ZSH, how do I set PATH in /etc/profile.d?

I'm using zsh as my shell, and I'm trying to configure my environment. I usually define my $JAVA_HOME variable by creating a file: /etc/profile.d/java.sh with the following content export ...
0
votes
2answers
539 views

Save enviroment PATH once I added one

I'm trying to add an environment path for android studio, and I've done the following steps: checking is there is already: echo $PATH add my path: export ...
4
votes
1answer
466 views

How to start/configure pulseaudio remotely with ssh?

I have a remote machine to which I can ssh. On the remote machine there is a program that uses pulse audio to get input from a USB microphone attached to the remote machine. This setup works fine when ...
2
votes
1answer
425 views

$PATH from /etc/environment overwritten

I'm upgrading a bunch of installations of 10.04 to 12.04. In 10.04 I used to define system wide env. variables in /etc/environment. It works, but not for $PATH that seems to be overwirtten. I don't ...
1
vote
1answer
935 views

JDK 8 Installation for Ubuntu 14.04 (Android Studio & NetBeans)

I downloaded jdk-8u11-nb-8-linux-i586.sh and installed it in my home folder. Then I install NetBeans, it is successful I think because I can compile my java code using netbeans. Now when I install ...
1
vote
1answer
3k views

rvm /usr/bin/env: ruby no such file error

I've installed rvm + ruby systemwide. which ruby /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby and: /usr/bin/env: ruby: No such file or directory Everything else works fine, putting direct path of ...
1
vote
1answer
143 views

What is the difference between a desktop environment and a shell?

I may be asking a basic question for many of you. What is exactly linux environment ? and what the relation between linux environment and shell? and what the relation between linux environment and ...
1
vote
1answer
114 views

Environmental variable

I am newly for Ubuntu and I just downloaded mulval software packet to run it on my Ubuntu, but I still not clear that the instruction say this: "The environmental variable MULVALROOT should point ...
1
vote
1answer
48 views

Update PATH variable during script execution

I am writing a script that installs a program. The problem is the program needs to have PATH variables set to install. How do I set PATH variables during the script execution and update the shell so ...
0
votes
1answer
233 views

How to fix invalid identifier error after setting environment variables?

I'm trying to setup cocos2dx in Ubuntu 14.04 LTS but after setting the environmental variables (in .bashrc) I start getting this error: bash: export: dev/cocos2d-x-3.2/tools/cocos2d-console/bin': not ...
0
votes
1answer
48 views

Creating a Path Variable

I need to set a path for a variable $week4 to be Week4/assignment so that typing cd $week4 will change the working directory to Week4/assignment/ I've seen a few examples of similar stuff on here, ...
0
votes
1answer
41 views

Environment Variable or saving dev_key file

I am slightly new to ubuntu, I have a NASA-ADS dev_key to access some data on there system but am unable to: save it as an environment variable named ADS_DEV_KEY or save it to a file called ...
0
votes
1answer
97 views

Why won't Vim source my .vimrc at startup?

I have modified my ~/.vimrc significantly (although some of my initial modifications I made in the system-wide /etc/vim/vimrc). It probably doesn't matter either way since I am really the only user ...
0
votes
1answer
72 views

Why do I not have the $MAIL environment variable?

I read that the $MAIL shell environment variable is one of the most common ones, and stores the location of my mailbox file, where my emails are stored. I looked into the /var/spool/mail and ...
0
votes
1answer
35 views

environment setup for Importing a userdefined module

I am creating an User defined module an .so file and importing that in the python module. The functions in the library are not responding as expected. What are the environment variables to be set ...
0
votes
1answer
102 views

How to combine two enviroment variables into one command?

I have an old pc and I installed Ubuntu 13. 10 on it. I also installed skype and the issue is that I have a huge audio latency or my webcam not work. I have work by replace 'Exec=skype' with: Audio ...
0
votes
1answer
53 views

java home will not set using /etc/environment

wowee....... echo 'export JAVA_HOME=/usr/' | tee -a /etc/environment open up new terminal echo $JAVA_HOME blank Why is it sooo hard to set a global env for all users without restarting? eve ...
0
votes
1answer
1k views

export PATH doesn't work correctly

I have a problem with $PATH export. The only place I found where I modify $PATH is /etc/environment: ANDROID_HOME="/opt/ADT/adt-bundle-linux-x86_64-20130522/sdk" ...
0
votes
1answer
65 views

system variable for directory shortcut?

Is there a way to create a variable CUSTOM_DIR, linked to the directory /home/user/folder1, It is that not only in the shell, but for every program, process etc. The CUSTOM_DIR refers to that ...
0
votes
1answer
152 views

PATH variable to Apache OPENNLP OK but doesn't work

yesterday I installed in my Ubuntu AWS 12.04 (Amazon) micro istance OpenNLP and seemed working. Today when digiting opennlp:command not found Following suggestions found here: I modified my ...
0
votes
1answer
231 views

Troubles with permissions of a new user

I want to create a new user and give him possibility to use git. So, I've installed git: sudo apt-get install git After that I've created a user: sudo useradd -d /home/developer -s /bin/bash -g ...
0
votes
1answer
318 views

Java not finding libraries in CLASSPATH

I have a JAR file, which has many dependencies (ApacheCommons stuff mostly). When I put all those JAR's in the same directory as my main JAR, everything works fine. But that makes a mess and it also ...
0
votes
1answer
465 views

How I can I unsource my environment?

I have source my environment and some environment variables were set, but i need to shift back to my previous environment, how should i do it ? Is there any way to move to the last environment ?
0
votes
1answer
45 views

add platform to ubuntu

I am new in Ubuntu (come from Windows 7), i want to know how can i add environment variable in Ubuntu, because the platform where i use exaggerate "To compile and run SCA composites with OW2 FraSCAti, ...
2
votes
0answers
30 views

Use variables in Nautilus location bar?

Is it possible to use variables (like $JAVA_HOME) in the Nautilus location bar? I think this will be useful to access certain locations easily.
2
votes
0answers
255 views

How to make CFLAGS work with the dash shell?

My impression is that while setting the CFLAGS variable is effective when bash is the default shell, it doesn't make an effect with dash (the Debian Almquist shell). First of all please correct me if ...
2
votes
0answers
145 views

Ensuring .profile gets executed when using nX

The $PATH I have when I run terminal in an nX session is different to that I have when I run terminal after logging on physically. The former is ...
2
votes
0answers
263 views

Change environment variables in debian/rules according to debian/control targets

I have this package mypackage which is already bundled for Ubuntu. For setting the compiler, debian/rules contains DEB_CONFIGURE_SCRIPT_ENV += CC=gcc I would now like to extend the package in that ...
1
vote
0answers
35 views

Unable to connect to X11 display. is $DISPLAY set? - Yes, it is

I'm trying to run this in my /etc/init.d/rc.local. I had to manually add the exit 0 because it wasn't there by default if that makes any difference. cd /home/john/xcape && ./xcape -e ...
1
vote
0answers
139 views

How to increase waiting time for non responding programs?

I have installed a Ubuntu GNOME and found that I am getting lots of PROGRAM is not responding messages. I have either to "Force Quit" the program or "Wait" for it a little more. I've noticed that ...
1
vote
0answers
161 views

Reload http_proxy, no_proxy

I am running Ubuntu with Awesome WM. I have confirmed in chromium, I can use the environment variables http_proxy and no_proxy to control the proxy chromium uses. I don't think chromium reads these ...
1
vote
0answers
86 views

Difference in the behavior of executable depending on where executed

I am trying to run repo from my home directory (/home/jeffrey). The repo binary is in the bin directory under my home directory (/home/jeffrey/bin). The bin directory is in PATH - I understand it ...
1
vote
0answers
88 views

Is it possible to install multiple versions of octave and then choose by setting enivronment variables?

I use Ubuntu 12.04LTS on an i5 with 8G RAM. I was wondering whether it is possible to install two different versions of an application, specifically octave-3.2.4 and octave-3.6.4 (in different ...
1
vote
0answers
240 views

javac cannot found, even after adding non-standart path to it in $PATH

Ubuntu 12.10, 32bit Problem too damn simple: I have a NTFS partition and unpacked from .tar.gz jdk on it. All I need from bash, is to see javac compiler, that is located in directory ...
0
votes
0answers
24 views

How to add the install prefix of Qt5 to CMAKE_PREFIX_PATH environment variable?

I'm developing a C++ program (no GUI) on Ubuntu Touch for the Nexus 4 and I'd like to test QT sensors. However, I'm having some trouble locating the install prefix of Qt 5 for CMAKE_PREFIX_PATH. Did ...
0
votes
0answers
34 views

Ubuntu 14.04 Color Variable Troubles

I have tried all the links from the first 2 pages of google searches regarding editting the LS_COLORS variable, but I can't get it to work as expected. I want all my source code files to show up as ...
0
votes
0answers
46 views

Error in export command in ~/.profile

I have this line in ~/.profile: export PATH=/sbin:/usr/sbin:${PATH} and it is causing this in ~/.xsession-errors: init: gnome-session (Unity) main process (1851) terminated with status 1 And ...
0
votes
0answers
52 views

How to set the path to xstream in Ubuntu 14.04

I am using Ubuntu 14.04, and installed my version of jdk using sudo apt-get install openjdk-7-jdk Now I installed xstream 1.4.7, but whenever I compile any java files using the package, I get an ...
0
votes
0answers
21 views

Environment Vars being changed on boot

I installed java-8-oracle the other day, and I didn't like it, so I deleted the java-8-oracle folder. I also installed java from java.com into /usr/java/jdk1.8.0_20, and set the environment variable ...
0
votes
0answers
69 views

How to set environment variable in Eric Python IDE

I have no problem running a Python script from the terminal, but in Eric Python IDE, I am getting this error: ImportError libcudart.so.6.0: cannot open shared object file: No such file or directory ...
0
votes
0answers
26 views

$DISPLAY environment variable changes upon (almost) every reboot

I am facing a very strange problem. I have a one display connected to my PC. However the $DISPLAY variable changes almost every time I reboot. For now it is :0.0, but before reboot it was :1.0. There ...
0
votes
0answers
66 views

How to set environmental variables for LuaSocket in Ubuntu?

I have installed the LuaSocket(luasocket-2.0.2.tar.gz) using this manual. But while performing the commands to require function to gain access to whatever module you need as below: socket = ...
0
votes
0answers
87 views

How can I see environment variables defined in .profile after lauching sudo codeblocks?

I am developing code with C++ in code::blocks. Because my code needs to access mice devices I launch code::blocks with sudo as superuser in an xterm I opened first. In the code I would like to read ...
0
votes
0answers
156 views

Apache envvars from external file

I want to have my global environment variables located in /etc/environ loaded in apache2 to prevent duplication between /etc/environ and /etc/apache2/envvars. I've seen that other operating systems ...
0
votes
0answers
29 views

Environment variable spoiled

In ~/.profile I have this: . "$HOME/projects/devenv.sh" In $HOME/projects/devenv.sh I have: BASEDIR=$(dirname $0) export APILIB_CONFIG="$BASEDIR/apilib.conf" echo "$APILIB_CONFIG" When I open a ...
0
votes
0answers
175 views

How to get write permission on /etc/environment?

I want to add mysql Connector jar file to classpath and by browsing through the net. I read that a global way to do it is to update the /etc/enviroment but the file opens as readonly. What I don't get ...
0
votes
0answers
75 views

Reload profile with java version

.profile has export JAVA_HOME=$DEV_HOME/tools/jdk1.6.0_45 # export JAVA_HOME=$DEV_HOME/tools/jdk1.7.0_51 # export JAVA_HOME=$DEV_HOME/tools/jdk1.8.0 export PATH=$PATH:$JAVA_HOME/bin I work with ...
0
votes
0answers
42 views

Infinality font patches ignore environment variables

I installed Infinality patches for Freetype font renderer on my Ubuntu 13.10 system. I wanted to emulate Windows fonts. I tried a few pre-defined themes (Win7 and OSX2) in infctl.sh. It really ...
-1
votes
0answers
30 views

Hadoop gives Error localhost: Error: JAVA_HOME is not set.?

I'm using Ubuntu. I have installed Java Hadoop configured it as single Node. i have also added environmental variable named HADOOP_HOME,JAVA_HOME in .bashrc file. When i was trying to run Hadoop using ...