OpenJDK
From CBLFS
Jump to navigationJump to search
Contents
Dependencies
Introduction to OpenJDK
OpenJDK is the Sun's GPL release of JDK. Due to legal concerns, not all of JDK has been released under GPL, therefore either Sun's Binary Plugs or Redhat's IcedTea must also be installed. Installation also requires a binary copy JDK 6.0, which can be found at http://java.sun.com/javase/downloads/index.jsp (seeJDK for installation instructions).
Project Homepage: http://openjdk.java.net/
Non-Multilib
Create necessary symbolic links:
ln -s /bin/find /usr/bin/find ln -s /bin/head /usr/bin/head ln -s /bin/test /usr/bin/test
Set PATH variable to include JDK6.0 and Apache Ant binaries (adjust paths as needed):
export PATH=$PATH:/opt/jdk/jdk1.6.0_03/bin:/opt/ant/bin
Set additional variables (adjust paths as needed):
export ALT_BOOTDIR=/opt/jdk/jdk1.6.0_03 export ANT_HOME=/opt/ant export FINDBUGS_HOME=/opt/findbugs export ALT_JDK_IMPORT_PATH=/opt/jdk/jdk1.6.0_03 export ALT_HOTSPOT_IMPORT_PATH=/opt/jdk/jdk1.6.0_03/bin
Patch the source:
patch -Np1 -i ../openjdk-b23.patch
Build the package:
cd control/make make
Install the package:
cd ../build
Multilib
Contents
Installed Programs: | |
---|---|
Installed Libraries: | |
Installed Directories: |
Short Descriptions
OpenJDK | is a (mostly) GPLed version of Sun's JDK. |
---|