Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
15 views

Chmod A+x Jre-6u - Linux-I586.bin Ls - L: To Install The Linux (Self-Extracting) File

To install a Linux Java file, follow these steps: 1. Change the file permission to executable and verify permission. 2. Change to the desired install directory, such as /usr/java/. Root access may be required for system-wide locations. 3. Run the self-extracting binary file. Review and accept the license agreement. 4. Java will install to its own directory, such as /usr/java/jre1.6.0_<version>. Verify successful installation.

Uploaded by

dkdon705
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Chmod A+x Jre-6u - Linux-I586.bin Ls - L: To Install The Linux (Self-Extracting) File

To install a Linux Java file, follow these steps: 1. Change the file permission to executable and verify permission. 2. Change to the desired install directory, such as /usr/java/. Root access may be required for system-wide locations. 3. Run the self-extracting binary file. Review and accept the license agreement. 4. Java will install to its own directory, such as /usr/java/jre1.6.0_<version>. Verify successful installation.

Uploaded by

dkdon705
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

To install the Linux (self-extracting) file

Follow these instructions:

1. Change the permission of the file you downloaded to be executable. Type:


chmod a+x jre-6u<version>-linux-i586.bin
2. Verify that you have permission to execute the file. Type:
ls -l

3. Change to the directory in which you want to install. Type:


cd <directory path name>
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/

Note about root access: To install Java in a system-wide location such as


/usr/local, you must login as the root user to gain the necessary permissions. If
you do not have root access, install the Java in your home directory or a
subdirectory for which you have write permissions.

4. Run the self-extracting binary Type:


./jre-6u<version>-linux-i586.bin

The license agreement is displayed. Review the agreement. Press the spacebar to
display the next page. At the end, enter yes to proceed with the installation.

5. Java is installed into its own directory. In this example, it is installed in the
/usr/java/jre1.6.0_<version> directory. When the installation has
completed, you will see the word Done.
6. Verify that the jre1.6.0_<version> sub-directory is listed under the current
directory. Type:
ls

You might also like