$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Linux Ubuntu How to Simply SetUp the JAVA_HOME Environment Variable

October 3, 2012 | By Duchateaux.

The Article shows you Simply How to SetUp the JAVA_HOME Environment Variable for JDK Installation Ubuntu Linux.

This is Meant to Make Clear also How to Exactly Recognize your Java Installation Home Directory.

Linux Ubuntu How to Simply SetUp the JAVA_HOME Environment Variable
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Ubuntu Linux Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Find the Java Home:

    Copy
    ls -l /etc/alternatives/java

    Clear the “/bin/java” suffix from the Output and the Remaining will be the JAVA_HOME.

    Example: /usr/lib/jvm/jdk1.7.0.

  3. SetUp the Environment Parameters File:

    Copy
    sudo nano ~/.bashrc

    Append:

    Copy
    export JAVA_HOME=

    Ctrl+Shift+v to Paste Content on nano
    Ctrl+x to Save and Exit.

    Load:

    Copy
    source ./~bashrc
Here Howto Install Oracle Java JDK 7 on Ubuntu Linux 12
Oracle JDK 7 for Ubuntu 12
How to Install Java JDK on Ubuntu Linux 12