Pages

Install Java........

Install Java........
Java is Installing

Tuesday 4 October 2011

Install Java on Debian

Step 1: Get the Latest Sun JVM for Debian Linux Platform. Click here 

Step 2: Installing Java on Debian is an easy task, there is a package that can do all the hard task for you. The package is “java-package” which can be installed with:
apt-get -u install java-package
Ensure the repository is up to date before installing this package, as you might encounter some problems.

Step 3: Here you create the “.deb” package from the file. You have to be a non-root user to perform this step. Create a temporary directory and copy the java file “.bin” into it. Enter the following command:
Newroot make-jpkg jdk-1_5_0-linux-i586.bin
You can Change the name of the Java “.bin” if you have to.
Now you can install the package as a root, if successful it should show:
The Debian package has been created in the current directory. Youcan install the package as root (e.g. dpkg -i sun-j2sdk1.5_1.5.0+update00_i386.deb).
 
Step 4: You have to be root to issues the command here, so if you’re not root, switch over to root. 
“dpkg -i sun-j2sdk1.5_1.5.0+update00_i386.deb
If this is not the name of your package you can specify another one, you should get the name from the previous success message.
 
Testing: The Testing is easy. Just run the following command:
“java -version”
It would be okay to run the command as root and normal user to ensure everything is working fine. You should the following output:
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)



Monday 3 October 2011

Install Java Virtual Machine

You can install the Java Virtual Machine (JVM) in 5 easy steps:

1.    Go to the Java Website to download either the JRE or JDK:
       Click here for JRE
       Click here for JDK


2.    After determining which one of them you want to download, follow the steps on the webpage, and click the download button.


3.    After downloading the JVM, click to launch the application, install it by following the easy steps by clicking next.


4.    It is recommended to close all other running applications and browsers before installing so as to allow the JVM integrate properly with the browsers.


5.    After finishing the installation you might be required to register on the Java site.


That's it, now you have the JVM installed on your System, to test it you can open your browser and type "about:plugins" to see if the Java Console is enabled on the browser.


People who read this also read: How to install Java