How-to Install Java JDK 7 x64 Linux Mageia 1-2 64bit KDE Easy Visual-Guide

September 3rd, 2012 by Regaz



The Guide Shows You Step-by-Step How-to Install the Latest Oracle-Sun Java JDK 7 64bit for Mageia Linux 1-2 KDE4 x8664 Desktop.

After Installing you will need to Use the update-alternatives Tool to Update your System Java to Oracle JDK 1.7.

Finally to the article Bottom there is a Link 4 Getting Installed also the Java Web-Server Tomcat7 for Mageia 2.

To Make the Entire Process Easier to Visualize and Retain the Post Includes the Basic Screenshots of the Essentials Steps Involved.

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Understand;)

Java On Mageia
  1. Download Oracle Java SE JDK 7:

    JDK 7 x64.tar.gz
  2. Find and Double-Click on the tar.gz Archive Java JDK 7 tar.gz Extraction 1

    Extract it Into the /tmp Folder.

    Java JDK 7 tar.gz Extraction Path

  3. Open a Terminal Window
    (Press “Enter” to Execute Commands) Debian Open a Terminal Window
  4. Relocate JDK 7
    su 

    If Got “User is Not in Sudoers file” then Look: Solution

    if [ ! -d "/usr/lib/jvm" ]; then mkdir /usr/lib/jvm; fi

    The above command is used to create a jvm directory if not already there.

    chown -R root:root /tmp/jdk1.7*

    Reiterate the Execution Permission over the Java binaries

    chmod -R +x /tmp/jdk1.7*/bin

    Finally Shift the Java content with

    mv /tmp/jdk1.7* /usr/lib/jvm/
  5. Installing Oracle Java JDK 7
    update-alternatives --install \
    /usr/bin/java java /usr/lib/jvm/jdk1.7*/bin/java 1065
    update-alternatives --install \
    /usr/bin/javac javac /usr/lib/jvm/jdk1.7*/bin/javac 1065
    update-alternatives --install \
    /usr/bin/jar jar /usr/lib/jvm/jdk1.7*/bin/jar 1065
    update-alternatives --install \
    /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7*/bin/javaws 1065

    Checking or Setting the System Java Version in Use with

    update-alternatives --config java

    To Switch of Java Version Just Enter the Reference Number on First Column. :)

  6. Getting-Started and Running with JDK 7:

    Quick Getting-Started Tutorial for JDK 7 Development

Guides to Installing the Tomcat 7 Server on Mageia Linux:

Install Tomcat7 for Mageia Linux
Sviluppo Siti WebInstall and Getting-Started on Oracle 11g R2 for RHEL 6Install and Getting-Started on Oracle 11g R2 for RHEL 6Install and Getting-Started on Oracle 11g R2 for Oracle Linux 6Install and Getting-Started on Oracle 11g R2 for Oracle Linux 6How-to Install VMWare Tools on Linux Mint 12How-to Install VMWare Tools on Ubuntu 11 LinuxHow-to Install VMWare Tools on Ubuntu 12How-to Install VMWare Tools Fedora 16 Linux Easy Visual GuideHow-to Install VMWare Tools on Fedora 8-16 LinuxHow-to Install VMWare Tools on Fedora PAE Kernel LinuxHow-to Install VMWare Tools on Debian Wheezy LinuxHow-to Install VMWare Tools on Debian Lenny and Squeeze LinuxHow-to Install the VMWare Tools on CentOS 6 Linux VisuallyHow-to Install VMWare Tools on CentOS 6 LinuxHow-to Install VMWare Tools on OpenSuse LinuxHow-to Install VMWare Tools on RHEL 6 LinuxHow-to Install VMWare Tools on Oracle Linux 6How-to Install VMWare Tools on Mageia LinuxHow-to Install VMWare Tools on Rosa Marathon 12 LinuxHow-to Install VMWare Tools on FreeBSD 9 UnixHow-to Install Evernote on Linux Oracle 6 KDEHow-to Install Evernote on Linux RHEL 6 KDEHow-to Install Evernote on Fedora Linux 16 KDEHow-to Install Evernote on Linux OpenSuse 12 KDEHow-to Install Evernote on Linux CentOS 6 KDEHow-to Install Evernote on Linux Oracle 6 GnomeHow-to Install Evernote on Linux RHEL 6 GnomeHow-to Install Evernote on Linux OpenSuse 12 GnomeHow-to Install Evernote on Fedora Linux 16 GnomeHow-to Install Evernote on Linux CentOS 6 Gnome http://tutorialforlinux.com/2012/08/installvmwaretoolslinuxmageia2kde.htmlhttp://tutorialforlinux.com/2012/08/fedora17lxdehowtoinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/debianwheezylxdeinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/linux-debian-wheezy-xfce-howto-install.htmlhttp://tutorialforlinux.com/2012/08/installvmwaretoolslinuxmint13mayamate.htmlhttp://tutorialforlinux.com/2012/08/linuxmint13cinnamoninstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/linuxmint13mayaxfceinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/unixfreebsd9howinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/fedora17gnome3howinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/07/installvmwaretoolslinuxfedora17xfce.htmlhttp://tutorialforlinux.com/2012/07/installvmwaretoolslinuxmint13mayakde.htmlhttp://tutorialforlinux.com/2012/07/howtoinstallvmwaretoolsfedora17gnome.htmlhttp://tutorialforlinux.com/2012/07/installvmwaretoolsfedora17kde4visual.htmlhttp://tutorialforlinux.com/2012/04/installvmwaretoolsrosamarathon12linux.htmlhttp://tutorialforlinux.com/2012/04/howtoinstallvmwaretoolsmageia1linux.htmlhttp://tutorialforlinux.com/2012/04/linuxhowtoinstallvmwaretoolsubuntu12.htmlhttp://tutorialforlinux.com/2012/04/unixinstallvmwaretoolsfreebsd9.htmlhttp://tutorialforlinux.com/2012/03/installingvmwaretoolsfedora16easyguide.htmlhttp://tutorialforlinux.com/2012/03/installvmwaretoolsdebianwheezy.htmlhttp://tutorialforlinux.com/2012/02/installingvmwaretoolscentos6visually.htmlhttp://tutorialforlinux.com/2012/02/vmwaretoolslinuxmint12visual.htmlhttp://tutorialforlinux.com/2011/11/installing-vmware-tools-on-centos-6.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-opensuse.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-debian-lenny.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-fedora-pae.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-fedora.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-rhel-6-with.html Website Development PHPWebsite in Drupal DevelopmentWebsite in Joomla DevelopmentJoomla DevelopmentSito in FlashAdobe How-to
(Visited 1 times, 1 visits today)
Share on Tumblr

Tags: , , , , , , , , , ,