Posts

Showing posts with the label Java on Ubuntu

Installing Tomcat on Ubuntu

Hi friends,  If you are done with JDK installation into your system(explained in the previous blog), Now will see how can we install tomcat (the process will be same for any version) 1.  Download the package " apache-tomcat-7.0.6.tar.gz " from the below link                         http://tomcat.apache.org/download-70.cgi  [tar.gz] 2.  Now we need to unpack it with the following command: tar xvzf apache-tomcat-7.0.8.tar.gz 3.  Then move it an appropriate directory, normally prefer  /usr/share/tomcat7 , or any directory. Using  the command: sudo mv apache-tomcat-7.0.8/ /usr/share/tomcat7 4.  Now define the environment variables  JAVA_HOME  and  JRE_HOME . This file is in the "environment" in / etc. Command to edit the file: As i told you in my previous tutorial 5. IMPORTANT:  Verify the location where they have installed Java. sometimes tomcat does not recognize the path of JDK, so define the file paths inside " catalina.sh " located in 

Setting up/Install JDK in Ubuntu/Linux

Friendz first little look on Java and Ubuntu ( you are chosen best combination for development). Java is a programming language originally developed by James Gosling at Sun Microsystems (which has since merged into Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture. Java is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java is currently one of the most popular programming languages in