From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 19:13:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 601DF106567E for ; Tue, 22 Jul 2008 19:13:26 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 461438FC20 for ; Tue, 22 Jul 2008 19:13:26 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KLNIZ-000O8o-Vw; Tue, 22 Jul 2008 15:13:25 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id D978F224CFC0; Tue, 22 Jul 2008 15:13:23 -0400 (EDT) Message-ID: <48863152.7000209@FreeBSD.org> Date: Tue, 22 Jul 2008 15:13:22 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Dave References: <20080722185721.7AB4B8FC1F@mx1.freebsd.org> In-Reply-To: <20080722185721.7AB4B8FC1F@mx1.freebsd.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.1 (-) Cc: freebsd-questions@freebsd.org Subject: Re: Java X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 19:13:26 -0000 -----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/.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-----