Chinaunix首页 | 论坛 | 博客
  • 博客访问: 40462
  • 博文数量: 39
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 0
  • 用 户 组: 普通用户
  • 注册时间: 2016-08-05 15:14











分类: BSD

2010-06-18 17:09:40


When installing Java on FreeBSD you have the choice between different Java Development Kits:

This is the effort of the Java 2 FreeBSD porting project. By the use of patchsets and the JDK source code released by Sun, this port builds a native JDK for FreeBSD.

cd /usr/ports/java/jdk14
make install clean

This port installs the Java 2 Developement Kit from Sun which was built for Linux. It will run under FreeBSD using the Linux compatibility.

cd /usr/ports/java/linux-sun-jdk14
make install clean

This is an implementation of the Java 2 Standard Edition SDK, version 1.4 for Linux by IBM. It contains IBM's just-in-time compiler, enhanced with a unique Mixed Mode Interpreter and a re-engineered Java 2 virtual machine.

cd /usr/ports/java/linux-ibm-jdk14
make install clean

Blackdown Java Developer Kit 1.4.1. It includes the HotSpot Client and Server VMs, as well as an enhanced version of Java Web Start 1.2, a Java Plug-In for browsers based on Mozilla and a Java Plug-In for Netscape 4.x browsers.

cd /usr/ports/java/linux-blackdown-jdk14
make install clean

Note: Please note that due to the current Sun licensing policy the resulting binaries can not be distributed and you are only permitted to use/hack it personally. Due to the same reasons you have to manually fetch the source code and patchset for FreeBSD.

If you should have trouble, you can see the for help.

阅读(983) | 评论(0) | 转发(0) |