This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • Setup JDK

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Execute Synaptic package manager
  • Install "sun-java6-jdk"
  • Agree to license shown in dialog

Ubuntu

  • Execute Synaptic package manager
  • Install "sun-java6-jdk"
  • Agree to license shown in dialog

Configuration

  • Add JAVA_HOME variable to your environment:

...

Code Block
titleCommand Prompt
borderStylesolid
# nano /etc/environment
...
JAVA_HOME="/usr/lib/jvm/java-6-sun/"
...
# source /etc/environment

Ubuntu:

Code Block
titleCommand Prompt
borderStylesolid

# nano /etc/environment
...
JAVA_HOME="/usr/lib/jvm/java-6-sun/"
...
# source /etc/environment

Test

Windows:

  • Open a new command prompt window (Start - Programs - Accessoires - Command Prompt)

...

Code Block
titleCommand Prompt
borderStylesolid
$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
$ echo $JAVA_HOME
/usr/lib/jvm/java-6-sun/

Ubuntu:

  • Open a new terminal
Code Block
titleCommand Prompt
borderStylesolid

$ java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)
$ echo $JAVA_HOME
/usr/lib/jvm/java-6-sun/