Difference between revisions of "OpenJDK"

From CBLFS
Jump to navigationJump to search
Line 22: Line 22:
 
* [[OpenCDK]]
 
* [[OpenCDK]]
 
* [[Liblockfile]]
 
* [[Liblockfile]]
* [[Junit]]
+
* [[JUnit]]
 
* [[Apache Ant]]
 
* [[Apache Ant]]
 
* [[FreeType]]
 
* [[FreeType]]

Revision as of 23:02, 9 November 2007

Download Source: http://www.java.net/download/openjdk/jdk7/promoted/b23/openjdk-7-ea-src-b23-30_oct_2007.zip
Download Binary Plug: http://www.java.net/download/openjdk/jdk7/promoted/b23/jdk-7-ea-plug-b23-linux-amd64-30_oct_2007.jar
Required patches: http://svn.cross-lfs.org/svn/repos/patches/openjdk/openjdk-b23-generic-1.patch



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.
Retrieved from "?title=OpenJDK&oldid=11951"