Java 2 SDK 1.4 on OpenBSD

2009-05-13 01:30:01来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

Java 2 SDK 1.4 on OpenBSD
Java 2 SDK 1.4 on OpenBSDRequirements
You will need
OpenBSD
/i386 3.6 release or later to build and run the 1.4 JDK. At least 448M of virtual memory (real + swap) is needed to build the JDK. More may be needed depending on what else is running on the build system. Having less then 256M real memory will increase the already long build time. You will also need approximately 1.7GB of free disk space in build area.
Licensing
You will need to agree to the
Sun Community Source License (SCSL)
to be able to download many of the needed distfiles. The resulting binaries created from the 1.4 port are licensed under the
SCSL
and have restrictions on use and distribution. No compatibility testing (TCKs) have been performed on the JDK for
OpenBSD
.
Distfiles
You will need to manually fetch four distfiles for the 1.4 port and one distfile for the 1.3-linux port which is a build depend.
First you will need to
download the Java 2 SDK 1.4.2 SCSL Source and the SCSL Binaries
(j2sdk-1_4_2-src-scsl.zip and j2sdk-1_4_2-bin-scsl.zip).
Once you have done this and agreed to the
SCSL
you can
download the latest BSD JDK 1.4.2 patchset
(bsd-jdk14-patches-X.tar.gz). Patchset 7 or greater is required for OpenBSD support.
Lastly you will need to
download the first release of 1.4.2 Linux binary SDK
(j2sdk-1_4_2-linux-i586.bin) and the
latest 1.3.1 Linux binary SDK
(j2sdk-1.3.1_XX-linux-i586.bin). Note: sometimes the latest 1.3.1 Linux binary SDK becomes out of sync with the 1.3-linux port. If this should happen you can
download the previous releases here
.
Put all five distfiles into /usr/ports/distfiles.
Building and Installing
For 3.6 release/stable download the port
here
. Extract as follows:
$ cd /usr/ports/devel/jdk/
$ tar xzf jdk14.tar.gz
$ cd 1.4
For 3.7 and later the port is at /usr/ports/devel/jdk/1.4.
Consider installing the build and run depends from packages to save time and disk space. Here's an example of how to do that for 3.6 (for other releases adjust package versions as needed):
$ PKG_PATH=ftp://closest.mirror.openbsd.org/pub/OpenBSD/3.6/packages/i386
$ export PKG_PATH
$ sudo pkg_add gtar-1.14.tgz
               nspr-4.4.1.tgz
               gmake-3.80.tgz
               unzip-5.51.tgz
               zip-2.3p0.tgz
               iodbc-2.50.3.tgz
               openmotif-2.1.30.5.tgz
               ghostscript-fonts-6.0.tgz
               redhat_base-8.0p4.tgz

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:今天下午一直躲在机房没出去

下一篇:关于m0n0wall的安装及配置(转)