fresh install on -CURRENT?

Jung-uk Kim jkim at FreeBSD.org
Wed Jun 13 16:37:45 UTC 2007


On Wednesday 13 June 2007 11:21 am, Robert Huff wrote:
> 	What is the correct way to install native jdk15 on -CURRENT?
> I'm trying to boot-strap from linux-jdk15, but Sun only seems to
> have the binaries and sources for -12, not -11 as the port wants.

You can get my unofficial and experimental patch for JDK 1.5 Update 12 
from here:

http://people.freebsd.org/~jkim/ports-update-to-jdk15u12.diff

BTW, WITH_WEB is enabled by default on amd64 with this patch.  If you 
dare, please test the following experimental patch as well:

http://people.freebsd.org/~jkim/patch-amd64_plugin.bz2

How to build:

1.  Download all necessary files/patches in /usr/ports/distfiles.
2.  cd /usr/ports/java/jdk15
3.  patch -p3 < ../../distfiles/ports-update-to-jdk15u12.diff
4a.  (Optional steps for the plugin patch)
    make patch
    cd work
    bunzip2 -c ../../../distfiles/patch-amd64_plugin.bz2 | patch -p
    cd ..
    make WITH_WEB=yes
4b. make
5.  Install.

If you decided to try out plugin patches, let me know if there's any 
build breakage or regression on i386 and/or amd64.

Thanks,

Jung-uk Kim


More information about the freebsd-java mailing list