Date: Tue, 22 Jul 2008 15:13:22 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: Dave <dfeustel@mindspring.com> Cc: freebsd-questions@freebsd.org Subject: Re: Java Message-ID: <48863152.7000209@FreeBSD.org> In-Reply-To: <20080722185721.7AB4B8FC1F@mx1.freebsd.org> References: <20080722185721.7AB4B8FC1F@mx1.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave wrote: | On Tue, Jul 22, 2008 at 02:49:50PM -0400, Greg Larkin wrote: |> -----BEGIN PGP SIGNED MESSAGE----- |> Hash: SHA1 |> |> Dave wrote: |> | On Tue, Jul 22, 2008 at 12:43:47PM -0400, John Nielsen wrote: |> |> On Tuesday 22 July 2008 12:20:48 pm dfeustel@mindspring.com wrote: |> |>> I read in _Absolute FreeBSD_ that there is now an easy-to-install Java |> |>> package for 64-bit AMD FreeBSD 7.0, but I have so far not found this |> |>> package. Does it exist? |> |> Yes. These packages are created. licensed and maintained by the FreeBSD |> |> Foundation. See this link: |> |> |> |> http://www.freebsdfoundation.org/downloads/java.shtml |> |> |> |> JN |> | |> | OK. I visited the link and downloaded the JDK and JRE for Freebsd 7, but |> | pkg_add fails, saying it cannot decode the CONTENTS file. I ran |> bunzip2 to get |> | tar files, but pkg_add fails with the tar file too. What's the proper |> way to |> | pkg_add these two files to get a working Java system? |> | |> | Thanks. |> |> Hi Dave, |> |> Can you post the exact output from pkg_add when it fails to install the |> files your downloaded? That will probably help me or someone else here |> troubleshoot the problem. | | Sure thing. But should I be pkg_add'ing the bz2 file or the tar file? | If the bz2 file, I will have to download it again since it disappears when | the tar file is recreated. | | Hi Dave, You want to pkg_add the .bz2 file. Re-download it, and place it somewhere like ${HOME}/packages. Then run: pkg_add -v ${HOME}/packages/<PKGNAME>.bz2 The "-v" flag enables verbose messages, so reply with all of the command output. I don't know why the .bz2 file would disappear - I don't think it should, in general. I use pkg_add a lot and haven't seen that. Once you forward the pkg_add output, we should be able to figure out what's going on pretty quickly. Best regards, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIhjFS0sRouByUApARAgIRAJ48835VoYkWzrtpESfC4EFXw7J6KACgjLMc y+4ZSU8ZLNoQGsJUB7wp6YA= =MklK -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48863152.7000209>