I am new to lubuntu. I have installed java8 in my laptop. i need to set up environment variable (sudo nano /etc/environmet) i have entered the JAVA_HOME =" path" but i dont know how to properly save and exit the window. Can you please help me with this ?
Asked
Active
Viewed 4,482 times
1 Answers
2
Nano commands are listed at the bottom. the ^ character means ctrl. Thus:
ctrl+o to save
ctrl+x to exit

ravery
- 6,874
JAVA_HOME =" path"
- also, no space character before or after the=
. – Gunnar Hjalmarsson Jan 26 '18 at 15:10