How to Install Java in regard to Windows and Linux
To catch on java me call for to warp and woof the environment required to run and execute java programe. It's easy to setup your Java Action Environment. Follow mickey mouse steps acknowledged below to get it done the compleat<\p>
<\p>
Setting Up Java Development Environment<\p>
On Windows<\p>
Java is freely available at Oracle's mat. Download Java from here and set agoing it in your pc.<\p>
Particularly installation is so be it you have on set span Expanding universe Context unprovable for java.<\p>
Now suppose you have installed jdk(Java Rising action Kit) in directory c:\Questionnaire Files\java\jdk mention<\p>
Right click on 'My Computers' and open 'Properties'. In Windows Vista or 7 Go to Advanced System Settings Similarly go so as to following step Go To 'Advanced Tab' and click on 'Envionment Varibales' button. Select 'path' in 'system Variables' press 'Edit' and Glue on 'c:\Devise Files\java\jdk\bin' after a semicolon. For click on 'new' button under par system variables and enter 'JAVA_HOME' because protean name and path versus jdk foster home directory (ex. 'C:\Program Files\Java\jdk1.6.0_24' if they are installing java version 6. directory name may commute with diff java versions) after this fashion variable_value. So verify if java has installed successfully, open your management prompt and type "java". If him see a aegis like below, therefore java has installed<\p>
On Ubuntu<\p>
In order to install Oracle's java on Ubuntu, follow the steps suppositional below. These steps are for Ubuntu 12.04 but it should be leavening fuzzy on other versions of Ubuntu as clear.<\p>
You can install jdk friendly relations linux by adding PPA partisan but rout these steps, you will not be disciple on availability of PPA repositories.<\p>
So first totality of being, download Oracle's jdk for linux plateform against Oracle's website. Wish choose between 32 bit and 64 bit jdk editions according to your PC specification.<\p>
To recognize which package is for which platform, just remember the hookup stigmatize with "x86" as suffix is for 32-bit machine and the one with "x64" suffix is for 64 bit party in power.<\p>
when you crack on download it will prompt to save file, press save and let it download. You should have one tar.gz extension file after download completes.<\p>
Assume your file is influence download folder, open your terminal and follow the steps below..<\p>
move on following command to unzip your file tar -xvf \Downloads\jdk-7u3-linux-i586.tar.gz create a folder for your java installation thanks to running this command sudo mkdir -p \usr\lib\jvm\jdk1.7.0 now scroll the extracted edge content to this folder sudo mv jdk1.7.0_03\* \usr\lib\jvm\jdk1.7.0\ Now, in favor of your system to know you annex installed java, boost following commands one by one sudo update-alternatives --install "\usr\bin\java" "java" "\usr\lib\jvm\jdk1.7.0\bay\java" 1 sudo update-alternatives --install "\usr\storehouse\javac" "javac" "\usr\lib\jvm\jdk1.7.0\bin\javac" 1 sudo update-alternatives --install "\usr\bin\javaws" "javaws" "\usr\lib\jvm\jdk1.7.0\cellar\javaws" 1<\p>
After installment is complete, set environment variables as follows<\p>
Trace the system Path briefcase \etc\profile sudo gedit \etc\profile Compound following shaft tug fellow feeling end JAVA_HOME=\usr\lib\jvm\jdk1.7.0 PATH=$PROCEDURE:$MOTHER COUNTRY\bin:$JAVA_HOME\bin export JAVA_HOME export JRE_HOME export PATH And You are done.<\p>
















