Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2010 16:51:08 -0800
From:      Nerius Landys <nlandys@gmail.com>
To:        Steve Franks <bahamasfranks@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: which java on 8-release
Message-ID:  <560f92641002041651r607bd395le5b3174c24020316@mail.gmail.com>
In-Reply-To: <539c60b91002041625o4c0eca58p79cb3491b8cbe3b8@mail.gmail.com>
References:  <539c60b91002041625o4c0eca58p79cb3491b8cbe3b8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
> and gave up.  I see still no diablo for 8.  What is the best way
> forward (and how am I so dense that no one else has even asked this
> question, I must be on the wrong track, no?)  I saw a few posts about
> having to install diablo in order to build openjdk, so that's out
> too...what is the 'magic' port that people use?  I just want to run
> all the apps that need java, I don't plan to write any java on my own.

I compiled Java 1.5 from ports on 8.0 (both on i386 and on amd64).

> cd /usr/ports/java/jdk15/
> make install clean
(Then follow directions about downloading tarballs and placing them in
/usr/ports/distfiles/ .)

Along the way to building this port, it automatically installed the
compat-7 mentioned above, as well as the diablo JDK.  When the install
was all finished, I uninstalled the diablo JDK so that I'd have just
my freshly-compiled JDK 1.5 installed.

I'm sure building JDK 1.6 from ports is similar:

> cd /usr/ports/java/jdk16/
> make install clean

I prefer JDK 1.5 because it's simpler and has less dependencies, but
that's just me.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560f92641002041651r607bd395le5b3174c24020316>