X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 56D29DC47E2 for ; Sat, 3 Oct 2015 11:20:51 +0000 (UTC) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id DB2ADDC03A2 for ; Sat, 3 Oct 2015 11:20:50 +0000 (UTC) Received: by lbos8 with SMTP id s8so37826364lbo.0 for ; Sat, 03 Oct 2015 04:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=bzWSUkUIedh3ud18t/xMGr3EJcoJFusGqOle8Mm2vho=; b=viCNStpkXl+rJfodX/yFC6DCyVD5SLjqAHpcJTLliTGC/faOrqkzK6nQrcsCJ5+Sqq uYiLzWz02lL+NxaoVra81WgU4+nmeYTrFl4OW6Yz5zpDs3rpCaBgUDGefGgxUjeNSsJK qlnGsLbdHVk8/7DqqFi276iwG9Knb6p3ja6D7koJHovwDctz+iI1rePiaBojnFLza0nb oYZ9SU59GIIgf3l6U4x59z3eIVwbf2rufNG+Tcq9Q3U1YHkFeHWDMPi9XuHFv8bqTvGc vN5LqhS6UlrlsZnVa4IkR3g6K5wHeq1MxIL8joBMjJITotiqOu/NpNz45TfBwU7lwi8q n1Rw== X-Received: by 10.25.20.37 with SMTP id k37mr4928718lfi.27.1443871248545; Sat, 03 Oct 2015 04:20:48 -0700 (PDT) Received: from vostro ([2001:1bc8:101:f402:21a:9fff:fe0c:4022]) by smtp.gmail.com with ESMTPSA id j189sm2343686lfg.48.2015.10.03.04.20.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Oct 2015 04:20:48 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Sat, 3 Oct 2015 14:20:44 +0300 From: Timo Teras To: =?UTF-8?B?U8O2cmVu?= Tempel Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH 1/2] testing/openjdk8: install profile to /etc/profile.d Message-ID: <20151003142044.6ca9fbd6@vostro> In-Reply-To: <20151003004249.GA25648@francium.lan> References: <1443804743-4910-1-git-send-email-soeren+git@soeren-tempel.net> <20151002203957.374db2c1@vostro> <20151003004249.GA25648@francium.lan> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP On Sat, 3 Oct 2015 02:42:49 +0200 S=C3=B6ren Tempel wrote: > On 02.10.15, Timo Teras wrote: > > Is this needed for some specific reason? > >=20 > > The idea has been that java-common provides symlinks > > from /usr/bin/{$java_utils} to ../lib/default-jvm/... and > > default-jvm is updated by java-common's trigger script when ever a > > java sdk is installed or removed. >=20 > Ah, didn't know about java-common, just looked at it and it is missing > many binaries (e.g. javac). Wouldn't it be the better solution to do > it this way instead of relying on java-common? It's obviously harder > to keep java-common up to date instead of simply installing a profile > file. If you disagree changing $PATH isn't needed for some specific > reason but some applications rely on JAVA_HOME being set one example > is the android studio IDE. Yes, it was supposed to export only the JRE. Javac is part of the SDK. Perhaps java-common should export the 'default-jvm' to environment then. Or potentially have the SDK packages provide the environment. But at least for JRE only I'd rather not export anything to environment unless absolute necessary for some specific reason. --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---