PDA

View Full Version : JDK16 installation on FreeBSD 7


fronty
06-28-2008, 06:28 PM
Hi,

I'm trying to install JDK16 on my FreeBSD 7 box. Got all packages from Sun plus patchset almost without without problems, but now make complains about patchset existing in distfiles.

Output of make, ls and file:
# Make output

===> Vulnerability check disabled, database not found
===> Found saved configuration for jdk-1.6.0.3p4

IMPORTANT: To build the JDK 1.6.0 port, you should have at least
2.5Gb of free disk space in the build area!

===> Extracting for jdk-1.6.0.3p3
=> MD5 Checksum OK for jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar.
=> SHA256 Checksum OK for jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar.
=> MD5 Checksum OK for jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar.
=> SHA256 Checksum OK for jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar.
=> MD5 Checksum OK for jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar.
=> SHA256 Checksum OK for jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar.
=> MD5 Checksum mismatch for bsd-jdk16-patches-3.tar.bz2.
=> SHA256 Checksum mismatch for bsd-jdk16-patches-3.tar.bz2.
===> Refetch for 1 more times files: bsd-jdk16-patches-3.tar.bz2 bsd-jdk16-patches-3.tar.bz2
===> Vulnerability check disabled, database not found
===> Found saved configuration for jdk-1.6.0.3p4

IMPORTANT: To build the JDK 1.6.0 port, you should have at least
2.5Gb of free disk space in the build area!

=> bsd-jdk16-patches-3.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bsd-jdk16-patches-3.tar.bz2: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.
*** Error code 1

Stop in /usr/ports/java/jdk16.

#############
# ls /usr/ports/distfiles

autoconf-2.61.tar.bz2
bsd-jdk16-patches-3.tar.bz2
dungn27s.zip
dungn32b.zip
gettext-1.05.tar.gz
help2man-1.36.4.tar.gz
jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar
jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar
jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar
ksh93
m4-1.4.9.tar.bz2
unzip552.tar.gz
zsh-4.3.4-doc.tar.bz2
zsh-4.3.4.tar.bz2

#############
# file /usr/ports/distfiles/bsd-jdk16-patches-3.tar.bz2

/usr/ports/distfiles/bsd-jdk16-patches-3.tar.bz2: bzip2 compressed data, block size = 900k

18Googol2
06-28-2008, 07:07 PM
Due to the Sun licence, you need to fetch the package manually (google for the download location) and put it in the disfiles dir. Then you shouldnt have any other problem, the installation process after that is quite straight forward.

corey_james
06-29-2008, 01:09 AM
or you could wait a few weeks for freebsdfoundation to release the pkg!

fronty
06-29-2008, 11:17 AM
Due to the Sun licence, you need to fetch the package manually (google for the download location) and put it in the disfiles dir. Then you shouldnt have any other problem, the installation process after that is quite straight forward.
Whatwhat, fetched all it told me to fetch. Except that timezone update thingie, couldn't easily find the version it wanted and didn't want to fight with checksums.

or you could wait a few weeks for freebsdfoundation to release the pkg!
Guess that's what I'm going to do, then. o.o

robbak
06-29-2008, 02:03 PM
Here is a more-or-less direct link to the patchset.
http://www.eyesbeyond.com/freebsddom/java/JDK16JRLConfirm.html
I am confused by the fact that the port attempted to download it directly. If they are now allowed to provide it without a clickwrap, then they should have set the download location.

ninjatux
07-01-2008, 09:28 PM
Hmm, that's interesting. I compiled and installed this a couple of days ago.

master-richie
07-08-2008, 04:49 AM
titled "freebsd 7.0, tightvnc and jdk16 - newbie"

had been struggling with jdk16 installation on a new install of 7.0 for a weekend until someone showed me how to do it - worked like a champ with very manageable hiccups.

~Rich