I am new to programming, I wanted to download and setup Apache Tomcat on my Ubuntu. I copied the tar link from Apache. I then decompressed the file with
tar xvzf Apache-tomcat.7.0.94.tar.gz
Now I'm following a set of instruction as below
- Set the environment variables in .bashrc with the following command:
- Add this information to the end of the file:
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 export CATALINA_HOME=/opt/tomcat/apache-tomcat-8.5.32
My problem is if use
vim ~/.bashrc it won't open.