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

September 3, 2012 | By Duchateaux.

The Guide shows you Step-by-Step How to Install the Latest Oracle-Sun Java JDK 7 64-bit 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.

And this Visual Guide includes the Basic Screenshots of All GUI Steps involved.

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Follow.

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 see: How to Enable sudo

    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.

    sudo 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 contents 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

    And for the Java Compiler instead:

    sudo update-alternatives --config javac

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

  6. Getting-Started and Running with JDK 7:

    Quick Start Tutorial for JDK 7 Development

Guides to Installing the Tomcat 7 Server on 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-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 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 https://tutorialforlinux.com/2012/08/installvmwaretoolslinuxmageia2kde.htmlhttps://tutorialforlinux.com/2012/08/fedora17lxdehowtoinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/debianwheezylxdeinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/linux-debian-wheezy-xfce-howto-install.htmlhttps://tutorialforlinux.com/2012/08/installvmwaretoolslinuxmint13mayamate.htmlhttps://tutorialforlinux.com/2012/08/linuxmint13cinnamoninstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/linuxmint13mayaxfceinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/unixfreebsd9howinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/fedora17gnome3howinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/07/installvmwaretoolslinuxfedora17xfce.htmlhttps://tutorialforlinux.com/2012/07/installvmwaretoolslinuxmint13mayakde.htmlhttps://tutorialforlinux.com/2012/07/howtoinstallvmwaretoolsfedora17gnome.htmlhttps://tutorialforlinux.com/2012/07/installvmwaretoolsfedora17kde4visual.htmlhttps://tutorialforlinux.com/2012/04/installvmwaretoolsrosamarathon12linux.htmlhttps://tutorialforlinux.com/2012/04/howtoinstallvmwaretoolsmageia1linux.htmlhttps://tutorialforlinux.com/2012/04/linuxhowtoinstallvmwaretoolsubuntu12.htmlhttps://tutorialforlinux.com/2012/04/unixinstallvmwaretoolsfreebsd9.htmlhttps://tutorialforlinux.com/2012/03/installingvmwaretoolsfedora16easyguide.htmlhttps://tutorialforlinux.com/2012/03/installvmwaretoolsdebianwheezy.htmlhttps://tutorialforlinux.com/2012/02/installingvmwaretoolscentos6visually.htmlhttps://tutorialforlinux.com/2012/02/vmwaretoolslinuxmint12visual.htmlhttps://tutorialforlinux.com/2011/11/installing-vmware-tools-on-centos-6.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-opensuse.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-debian-lenny.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-fedora-pae.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-fedora.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-rhel-6-with.html Website Development PHPWebsite in Drupal DevelopmentJoomla DevelopmentSito in Flash

QuickChic Theme • Powered by WordPress