Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Something quite strange.

I want to add a global environment variable JAVA_HOME.

So I tried add this in /etc/environment

JAVA_HOME=/usr/lib/java/jdk1.7.0_07

Ok, it's working but not if I open a session with xrdp !

I also tried with /etc/profile but still not working.

How can I do ?

Thanks.

share|improve this question
    
What was the error message when you tried to connect? –  Anwar Shah Oct 18 '12 at 11:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.