It is simple! YOU MUST EXPORT JAVA_HOME! Java has an home? cool!
Let's do it!
(This process set permantely your java variable into your computer)
- Open terminal in linux.
- If you don't know where is java is located, write in terminal: whereis java. A possible set of results can be: Save path that ending with ..../bin/java
- Now, write in your console: sudo nano /etc/profile and write at finsh of file these line: and instead of /home/lorenzo/Documenti/jdk1.7.0_25/bin insert the path, without the final words /java, that you have saved it before.
- Hit ctrl+o and press enter and hit ctrl+x.
- Write in console source /etc/profile
- And work is complete!
FINISH HIM! (ehmm take out MortalKombat...)


No comments:
Post a Comment