首页
登录 | 注册

FreeBSD Java™ Project: How To Install

BSD

 

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

Native JDK on FreeBSD

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

Sun JDK for Linux

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

IBM JDK for Linux

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 JDK for Linux

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 FreeBSD Handbook section on "installing applications" for help.


相关文章

  • FreeBSD Foundation Java Downloads Java JDK and JRE 6.0 binaries for FreeBSD 6.x and FreeBSD 7.x on the i386 and amd64 ar ...
  • Java基础14:离开IDE,使用java和javac构建项目
    这是一位阿里 Java 工程师的技术小站,作者黄小斜,专注 Java 相关技术:SSM.SpringBoot.MySQL.分布式.中间件.集群.Linux.网络.多线程,偶尔讲点Docker.ELK,同时也分享技术干货和学习经验,致力于Ja ...
  • 在FreeBSD上建立Tomcat的JSP环境是非常容易的,对于编程测试来说,Tomcat没有必要ports安装,但是需要ports安装Apache Portable Runtime,否则Tomcat运行不起来.1:安装 Apache Po ...
  • 简述Java最早于1998年引入 FreeBSD.通常我们使用的JDK是来自 Sun 的 JDK.由于授权的原因,目前JDK需要手工下载之后才能安装.在FreeBSD平台上,最新版本的JRE/JDK为:Diablo JRE/JDK1.5.0 ...
  • 用java连接apache geode
    昨天研究了半天apache geode,通过gfsh命令查询和操作比较简单,但是如何通过程序查询因为资历太少,没有搞懂,试验了半天才明白 1.创建测试region create region --name=user --type=REPLI ...

2020 unjeep.com webmaster#unjeep.com
12 q. 0.014 s.
京ICP备10005923号