From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eHdEF3UFJF+FSgAA0tVLHw (envelope-from ) for ; Fri, 31 Jul 2020 11:50:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sHPsEnUFJF9vKAAAbx9fmQ (envelope-from ) for ; Fri, 31 Jul 2020 11:50:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C20CF9403AA for ; Fri, 31 Jul 2020 11:50:12 +0000 (UTC) Received: from localhost ([::1]:44530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1TYA-0003vZ-6o for larch@yhetil.org; Fri, 31 Jul 2020 07:50:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1TY2-0003vA-CM for bug-guix@gnu.org; Fri, 31 Jul 2020 07:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1TY2-0003PE-3D for bug-guix@gnu.org; Fri, 31 Jul 2020 07:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1TY2-0007uk-1O for bug-guix@gnu.org; Fri, 31 Jul 2020 07:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42423: icedtea: JAVA_HOME Resent-From: Michael Rohleder Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 31 Jul 2020 11:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42423 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Howard Received: via spool by 42423-submit@debbugs.gnu.org id=B42423.159619619730408 (code B ref 42423); Fri, 31 Jul 2020 11:50:01 +0000 Received: (at 42423) by debbugs.gnu.org; 31 Jul 2020 11:49:57 +0000 Received: from localhost ([127.0.0.1]:37437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1TXw-0007uN-Om for submit@debbugs.gnu.org; Fri, 31 Jul 2020 07:49:56 -0400 Received: from wp224.webpack.hosteurope.de ([80.237.132.231]:49478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1TXu-0007uD-NF for 42423@debbugs.gnu.org; Fri, 31 Jul 2020 07:49:55 -0400 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1k1TXs-0008SC-GA; Fri, 31 Jul 2020 13:49:52 +0200 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1k1TXr-0007ap-8h; Fri, 31 Jul 2020 13:49:52 +0200 From: Michael Rohleder References: X-PGP-Fingerprint: 755E 2DE5 D0D5 85C5 2E78 2830 7C7A FFBE FEF2 CB25 X-PGP-Key: https://www.rohleder.de/~mike/pgpkey.asc Date: Fri, 31 Jul 2020 13:49:44 +0200 In-Reply-To: (Christopher Howard's message of "Sat, 18 Jul 2020 21:09:52 -0800") Message-ID: <873657ewfb.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1596196194;acf5d1c9; X-HE-SMSGID: 1k1TXs-0008SC-GA X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: christopher@librehacker.com, 42423@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -0.61 X-TUID: vawsPX9KFoYE --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Christopher, Christopher Howard writes: > Hi, I'm not going to pretend to be a Java expert, but I was trying to > build and run a Java application, and had to set JAVA_HOME manually. It > is my understanding from my research[1] that applications often will > want JAVA_HOME set to the path to the java install directory. It would > seem like it would be useful if Guix set that as well for the icedtea > and icedtea:jdk package. > > If there are good reasons for that not to be, perhaps more > knowledgeable individuals will explain it. > > One part I'm not quite sure about is what JAVA_HOME would be set to if > both icedtea and icedtea:jdk were installed. I dont think this is a good idea (or even possible?): From=20a Developer POV I think its pretty common to have many jdk's install= ed (8,11,14 sometimes even 7). To what should JAVA_HOME be set/defaults in this case? I dont know a distribution which sets JAVA_HOME (per default) and I think its much better to let the user or sysadmin decide which one is best... --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl8kBVgACgkQfHr/vv7y yyXMFwgAuQk5XitWaIsEba9Hg41WQBBGB5SipkUyxC+oy2CkVCzREYb/ZoWDc1gV v0p+SRBc11suVaTsD96PdVtHuvx7xJ6u/Cb0eNdBI/L0DKFC/Og1zCAujYfeG5I9 ClI3Mgj07y7H6QnxLV0vyDyz5hF3QPtzUdKY1KAT+u8XGhOMWuRaGJf9fRV+GWHq sElnUVV5tE2g0DgEGoyWWOaQyvt2J63fzHd9Ql8NlUq4Zn0Dp27nPCQWiiF6HF4H aOh3QUY5b/NW7bTDfg6IYv4Pcw26I0beIesk8wimuNbHBYDxYVmhnmMddRfBvWhx WT/l8KyRckcMmXDYroNgfwYj9ImiDQ== =tlJm -----END PGP SIGNATURE----- --=-=-=--