Trying to install Java on FreeBSD

Jung-uk Kim jkim at FreeBSD.org
Thu Jul 28 18:43:11 UTC 2016


On 07/28/16 02:27 PM, Vineeth Karkad (vkarkad) wrote:
> [auto-build at rel-bld11 ~]$ uname -a
> FreeBSD rel-bld11.eng 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Wed Feb  8
> 16:11:26 PST 2012  
> root@:/sys/amd64/compile/MESSAGING_GATEWAY.amd64_INSTALL  amd64
> [auto-build at rel-bld11 ~]$ /usr/local/openjdk7/bin/java -version
> openjdk version "1.7.0"
> OpenJDK Runtime Environment (build 1.7.0-root_2015_12_22_07_05-b00)
> OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)
> 
> 
> I have another host with the same version of FreeBSD, that has openjdk7.
> Not sure how it worked on that host.

If you really have to replicate the environment for some reason
(although it is not supported), you can back up the package and its
dependencies from old host, i.e., "pkg_create -b -R", copy all packages
to new host, and install, i.e., "pkg_add <pkg_name>".

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-java/attachments/20160728/f159cf25/attachment.sig>


More information about the freebsd-java mailing list