Posts

Showing posts from March, 2012

Set JAVA_HOME / PATH variables In Linux OS

         In my last post we discussed about how to install JDK in Ubuntu platform. You installed it means, it looks lyk u  took interest in Linux.. Its good to see. U knw actually windows sucks, when u try linux distribution u ll get it (Now u r dat much of smart than i m expecting, because u r Linux user :) ).       Now we discuss about _            How to set JAVA_HOME and PATH?      And here is the answer step by step   1.   ~/.bash_profile          this file helps u to set environment.     Open  Terminal   window. (U installed JDK means u knw how to open it, m i right !) 2.  Open file ~/.bash_profile using following line in your teminal_       rohantu@ubuntu:~   $ vi ~/.bash_profile 3.  Set JAVA_HOME as follows   export JAVA_HOME=<java-path> in that file you can use below line for JAVA_HOME_       export JAVA_HOME=/usr/java/jdk1.5.0_07/bin/java     4.  Set PATH in same file as follows:        export PATH=$PATH:/usr/java/jdk1.5.0_07/bin 5. And you finished it. b

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