OpenJDK6 port build

I don't know exactly when it happened but there is currently an OpenJDK 6 binary port available for download from the usual place. The reason this is important is because the "official" Diablo/Caffe binaries distributed by the Foundation cannot be legally redistributed by third parties, precluding it for being included in FreeBSD-based products, LiveCD-s, etc.

OpenJDK is also free-as-in-speech, which is one of the reasons why it can be (re)distributed. OTOH, the official binaries have passed Sun's tests.

#1 Re: OpenJDK6 port build

Added on 2009-08-14T07:07 by Erik Cederstrand

Did you try installing it? I was hoping to install Tomcat6 + OpenJDK6 the other day. Apart from pulling in 30-40 xorg libs, it depends on apache-ant, which in turn tries to install Diablo.

#2 Re: OpenJDK6 port build

Added on 2009-08-14T17:14 by Ivan Voras

I've just tried installing apache-ant and apparently it works. It pulls in /usr/local/openjdk6/bin/java as a dependancy like it should (after openjdk has been installed).

#3 Re: OpenJDK6 port build

Added on 2009-08-24T00:55 by Erik Cederstrand

I don't know how you got it working; I just get:


jaune# /usr/ports/java/openjdk16

jaune# make install clean

===>   openjdk6-b16_2 depends on executable: ant - not found

===>    Verifying install for ant in /usr/ports/devel/apache-ant

===>  Installing for apache-ant-1.7.1

===>   apache-ant-1.7.1 depends on executable: classpath - found

===>   apache-ant-1.7.1 depends on file: /usr/local/diablo-jdk1.6.0/bin/java - not found

===>    Verifying install for /usr/local/diablo-jdk1.6.0/bin/java in /usr/ports/java/diablo-jdk16

cd /usr/ports/java/diablo-jdk16 && make config;

#4 Re: OpenJDK6 port build

Added on 2009-08-25T20:37 by Erik Cederstrand

It turns out an existing JDK is necessary to install OpenJDK. That's why Diablo is being pulled in as a dependency. I expect Diablo can be deinstalled afterwards.

#5 Re: OpenJDK6 port build

Added on 2009-08-26T16:37 by Ivan Voras

A jdk is not required for the binary OpenJDK6 package install.

Comments !