Please tell me how to set environment variables
JAVA_HOME MAVEN_HOME TOMCAT_HOME PATH
I installed Java via terminal apt-get command, Tomcat and Eclipse by downloading tar.gz files and extracting them. Maven also by terminal and by getting plugin to eclipse too.
Please tell me a answer step by step. I'm beginner to Ubuntu.