Technology Programming

How to Install Sun Java on Fedora

    • 1). Download the .rpm file of the latest Java version from the Java website: http://java.com/en/

    • 2). Open a terminal window. The terminal window can be found in Applications->Utilities (GNOME) or Start->Utilities (KDE).

    • 3). Switch to the root user by typing: su.

    • 4). Move the file to the /usr directory by typing: mv jre-6u<version>-linux-i586-rpm.bin /usr
      Change replace <version> with the number of the latest Java version.

    • 5). Make the .bin file executable by typing: chmod +ax jre-6u<version>-linux-i586-rpm.bin

    • 6). Run the .bin program: ./jre-6u<version>-linux-i586-rpm.bin

    • 7). Use the space bar to scroll through the license agreement.

    • 8). Type "yes" to accept the license agreement.

    • 9). Install the .rpm file that results from the execution of the .bin file: rpm -iv jre-6u<version>-linux-i586.rpm



Leave a reply