Tag: environment variable for java

Install java manually in UBUNTU Linux

Install the new java in any folder you like. Set the environment variables in /etc/environment file. My /etc/environment file looks like this- PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/java/jdk1.6.0_11/bin:/usr/jboss/jboss-5.0.1.GA/bin” CLASSPATH=”/usr/java/jdk1.6.0_11/lib:/usr/jboss/jboss-5.0.1.GA/lib” JAVA_HOME=”/usr/java/jdk1.6.0_11″ JBOSS_HOME=”/usr/jboss/jboss-5.0.1.GA” Save this file and restart the computer. It should have new java installed and

Posted in Java, Linux, Ubuntu Tagged with: , , , , , , , , , , , , , ,
%d bloggers like this: