From owner-freebsd-java@freebsd.org Thu Sep 3 22:05:59 2020 Return-Path: Delivered-To: freebsd-java@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 405B43CC81D for ; Thu, 3 Sep 2020 22:05:59 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BjFHp72p9z44dH for ; Thu, 3 Sep 2020 22:05:58 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: by mailman.nyi.freebsd.org (Postfix) id F1B3A3CC5DE; Thu, 3 Sep 2020 22:05:58 +0000 (UTC) Delivered-To: java@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F179B3CC753 for ; Thu, 3 Sep 2020 22:05:58 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from resqmta-po-06v.sys.comcast.net (resqmta-po-06v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjFHn4MgTz44mr for ; Thu, 3 Sep 2020 22:05:57 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from resomta-po-19v.sys.comcast.net ([96.114.154.243]) by resqmta-po-06v.sys.comcast.net with ESMTP id Duk4k63HbePOGDxMgkmUDg; Thu, 03 Sep 2020 22:05:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20180828_2048; t=1599170755; bh=C8pqPOKUmK0l2TR6H4fyICZX9p6WDzsSAV6ugAyzH6o=; h=Received:Received:Received:Subject:To:From:Message-ID:Date: MIME-Version:Content-Type; b=TMYe3DglsEG2d9/63fySzH3NLiPDz7xlJanLsyTb4LsIWs4lOdDvH7lcgqckBUzJR X+YCITK+xbRYYSNZkO8lvm/rYHdmXQqNdO5rBSxcHtkYFk94whCutoFDP0LvA3RQO5 B0SIehvftnIbYOodLooQTBRzFxcvVW7NNbtEAkVzzP0r2tT6yZ5MAxZL8xIXfgO+tZ qhntx/la4n4Ry+Fm/ha0lPaq+I9dE8ri9y4ofVnZ0qni+3Rs0U71voaPW+3cPdgfXO ZVv3YSEu27BG+TNWCABcRK0Q8GZu5c02t1Smg5+1+cZeIA3hdHIItLY1SCid1tsQRx 4nDmkUvBDBWkw== Received: from misty.eyesbeyond.com ([24.16.127.181]) by resomta-po-19v.sys.comcast.net with ESMTPA id DxMekQsfMqh8zDxMfkrgVZ; Thu, 03 Sep 2020 22:05:54 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgeduiedrudegvddgtdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomhepifhrvghgucfnvgifihhsuceoghhlvgifihhssegvhigvshgsvgihohhnugdrtghomheqnecuggftrfgrthhtvghrnhepvdeutdeijefhudegteffhfeiudeiueffveduteffvdffhfeffeejleekvdegtdeknecuffhomhgrihhnpegtohhnfhdrihhspdhfrhgvvggsshgurdhorhhgnecukfhppedvgedrudeirdduvdejrddukedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepmhhishhthidrvgihvghssggvhihonhgurdgtohhmpdhinhgvthepvdegrdduiedruddvjedrudekuddpmhgrihhlfhhrohhmpehglhgvfihishesvgihvghssggvhihonhgurdgtohhmpdhrtghpthhtoheprhhosggvrhhthhhufhhfsehrtghnrdgtohhmpdhrtghpthhtohepjhgrvhgrsehfrhgvvggsshgurdhorhhg X-Xfinity-VMeta: sc=-100.00;st=legit Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.15.2/8.15.2) with ESMTP id 083M5qZD017393; Thu, 3 Sep 2020 15:05:52 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: Host localhost.eyesbeyond.com [127.0.0.1] claimed to be misty.eyesbeyond.com Subject: Re: testing different Java dependency? To: Robert Huff , java@freebsd.org References: <24392.32831.687208.740013@jerusalem.litteratus.org> From: Greg Lewis Autocrypt: addr=glewis@eyesbeyond.com; prefer-encrypt=mutual; keydata= mQGiBDyFNecRBACKn+4b36n2/e55yTfpLXS9a57gQNgx0WXBfbK9LMLf2D8otD+0z1DW2ecl AOwJVtPftjvYP0HKFVC8Pes9Wvp6Z0sIEPpdkL2NPlUuxXUyh1b92u7nBpt7Uwsom88fnn+B OPrvvPL8Arg3JBen+Jd8o9yRoABCYku8vQF6CEUDcwCgmHJd9hZ/kRb1rLdSLssB4VMQ3zED /0/SVm+6XV+2ObXn9FKQpCC6sMSq+PCoR9NzAVRInjTtkpyR0fjJZr69IN2E2MWPonv38Xg1 tWJnR3fKUOnNqwiVHBQKKrKa9lGWsZQpTrR+ihtJ9hC626dCq9JDb1Ls7TXn9ha+d0WNuqiw ugto/myHm/GVlCANhGzUuDNUMo27A/46YEAMuhSQWOxgSZ/Z5g0ybgpswVePrxvD4sX2/AVf KClOYpPiNJe+S7YTJmfIPkpP2P7v+87BaN/uWgaFmxlhpUOIuat44w52EwwGB+K24cGgq52X ncZsYTYHSrLitkRtt35tVdnn1v3gmDi83M8W/YunflpeJAgJC0QzxKuar7QiR3JlZyBMZXdp cyA8Z2xld2lzQGV5ZXNiZXlvbmQuY29tPohXBBMRAgAXBQI8hTXoBQsHCgMEAxUDAgMWAgEC F4AACgkQ3uqZIxu22eCXswCeN0vOYtjnUXXznfUZtq/A/a6rf3EAoJE+kpmyp/e142F9s1Jo ndlUZjNFuQINBDyFNqMQCACa5C6Q8Vp5+TMTsNMiBIMhzm9GZQcOzTVsanfpHt/kYSZfA20J n4x/4fnhBLO42HVBono2r+Jh3fksDTf8jsCBQXBJfVwRz+d82PGpLbsIBpvqci31LJv1YAAp QoMzBkKMcE2/j0IA/JVVvVpNQInJRy/WAZIw0devZuRalricg3j6uoPeGJ8cJfWP/ZcySZhj w0JVNjnbOo7iwJuH6iEAx9i1bbJXYjPPieCmmnR9RuaUZXoNW9MLUyLrVQIOSE75NkWUTepd 4aU/kZHRJul1CY+IjQmmKepmzjeBx3bG2JQEzscAyhAOnIWKsO7IMpSAxYmu0m0DBZrhx/gu 6H9/AAURB/92qkduXjy275EQA+uOT01ZoZWqLW+/Svgslejx1v1obHDADMpcOHCoejr0TqXj 9F36GxqwgkTu8Y1sYr656tOD9beOi33QyqtqmVce5LnhOM4zLNZJIbtLrKmYN/licrfFATg1 9Ni8LYbGmGi2QT5CYHOZ5+38yjeilViW/c44GqJCgJgHfjytdzPERQ9qbdsUHDXCnleMDSSp hFxRvE0TkAr1z6DpHZz+NP3oScNkOkxEI1mIAocUsSO0fLroGJUcq+C2KNYPSTG2VZXwoAo3 o6FSlJKwK/neOwIie00BEBUQ04o5XRFBUN8mDKR4r7d542tR0iMBYUBZxU4TDlNCiEYEGBEC AAYFAjyFNqMACgkQ3uqZIxu22eAdvgCffuZlTysTdIYICVMkItXUnFENdXIAmwUFWyHGKyfU bJx1PdQLBwlUAcnl Message-ID: <04b6b209-6ca1-9ed2-a9cd-84b036359e5a@eyesbeyond.com> Date: Thu, 3 Sep 2020 15:05:52 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <24392.32831.687208.740013@jerusalem.litteratus.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-AU X-Rspamd-Queue-Id: 4BjFHn4MgTz44mr X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=comcastmailservice.net header.s=20180828_2048 header.b=TMYe3Dgl; dmarc=none; spf=none (mx1.freebsd.org: domain of glewis@eyesbeyond.com has no SPF policy when checking 2001:558:fe16:19:96:114:154:165) smtp.mailfrom=glewis@eyesbeyond.com X-Spamd-Result: default: False [0.46 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[comcastmailservice.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.14)[-1.141]; HFILTER_HELO_5(3.00)[resqmta-po-06v.sys.comcast.net]; RECEIVED_SPAMHAUS_PBL(0.00)[24.16.127.181:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2001:558:fe16:19:96:114:154:165:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.980]; R_DKIM_ALLOW(-0.20)[comcastmailservice.net:s=20180828_2048]; FREEFALL_USER(0.00)[glewis]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.014]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[eyesbeyond.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; MAILMAN_DEST(0.00)[java] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 22:05:59 -0000 The environment variable you're probably looking for is JAVA_PREFERRED_PORTS.  Whether that has the effect you want will also depend on what the port allows in terms of Java versions.  E.g. if a port has JAVA_VERSION=11 then it is signalling that will only use a JDK of that version, no matter what you set as your preference. Also, as the previous reply implied, how that effects individual ports at run time isn't consistent. -- Greg On 2020-08-27 20:55, Robert Huff wrote: > Hello: > Java novice here. > Suppose I have a port - FOO - built and running with openjdk-12. > I'd like to test it with openjdk-14 _without_ changing the > settings in make.conf. > Is there an command-line arguement I can feed make that will > cause that to happen? Assume I have installed openjdk-14. > (I looked at bsd.java.mk ... my eyes glazed over ... and I backed > carefully out of the room.) > > > Respectfully, > > > Robert Huff > > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@freebsd.org Thu Sep 3 23:12:07 2020 Return-Path: Delivered-To: freebsd-java@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 678163CE13B for ; Thu, 3 Sep 2020 23:12:07 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjGm64jCxz49KV for ; Thu, 3 Sep 2020 23:12:06 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x441.google.com with SMTP id c15so4838210wrs.11 for ; Thu, 03 Sep 2020 16:12:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=3i4H3MDCzVNc/r08uSZNhqeH3woglgZ01RmR1Y/uXE4=; b=Heyr+5RAnSBdmp3qyZxeI6VRSwEnpTw0dRUAHw0CH9lq0JTRS3fTGKl24msp5vwxuX e0LeZLziHHF0DRC5i9gazkiK6Cssg+GYLTiM7xRRPdBv3DHOjay2n/aQoeLWIx/BgNqF T329FqBiIQwezyd6WueeehfOxKuNYClDuwpHce9X1fmUE4u2bv2Wr0jZO8DZkH/CWZro 4yEhxEZDleYaemJf6o7Ozsln9m3F+xQQ6zGgd7aaJo4IrSx0G+5FII53rHF67aMOUkxW Iz+JMhnzSERM4468m6hIg2lq91ZllMx44mHltVEaZxkDKNQeZ2WNjwuOJAYkYykYOpmn 7USQ== X-Gm-Message-State: AOAM531AVYxS2xWwIqbhaACa1dvCtD2TWSNP/3low5OP9dpEKJ9qy4YP F/hydNWqoYlVtL6sAZT7mtY= X-Google-Smtp-Source: ABdhPJzK388KkbrwDujbiSeKNmvoUaciZzCbJE5f03xVJsKLvsABcNW6LznJgLfb96U88nAq/f83Cg== X-Received: by 2002:adf:e6c2:: with SMTP id y2mr5038701wrm.117.1599174725124; Thu, 03 Sep 2020 16:12:05 -0700 (PDT) Received: from localhost.localdomain ([46.114.105.185]) by smtp.googlemail.com with ESMTPSA id r13sm7336655wrj.83.2020.09.03.16.12.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2020 16:12:04 -0700 (PDT) From: Klaus Cucinauomo Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.0.3\)) Subject: Re: testing different Java dependency? Date: Fri, 4 Sep 2020 01:12:01 +0200 References: <24392.32831.687208.740013@jerusalem.litteratus.org> <04b6b209-6ca1-9ed2-a9cd-84b036359e5a@eyesbeyond.com> To: Greg Lewis , freebsd-java@freebsd.org, ronald-lists@klop.ws, roberthuff@rcn.com In-Reply-To: <04b6b209-6ca1-9ed2-a9cd-84b036359e5a@eyesbeyond.com> Message-Id: <98B773F0-A6BD-409F-B4E5-A3AD5800888D@googlemail.com> X-Mailer: Apple Mail (2.3654.0.3) X-Rspamd-Queue-Id: 4BjGm64jCxz49KV X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.29 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.85)[-0.850]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.105.185:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-0.96)[-0.962]; NEURAL_HAM_LONG(-0.97)[-0.974]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::441:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-java] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 23:12:07 -0000 some time ago I had described how I switch java versions system wide = here : = https://forums.freebsd.org/threads/howto-permanently-set-switch-shell-path= -to-java-vm.71419/ Regards Klaus=20 > Am 04.09.2020 um 00:05 schrieb Greg Lewis : >=20 > The environment variable you're probably looking for is > JAVA_PREFERRED_PORTS. Whether that has the effect you want will also > depend on what the port allows in terms of Java versions. E.g. if a > port has JAVA_VERSION=3D11 then it is signalling that will only use a = JDK > of that version, no matter what you set as your preference. >=20 > Also, as the previous reply implied, how that effects individual ports > at run time isn't consistent. >=20 > -- Greg > Am 28.08.2020 um 13:49 schrieb Ronald Klop : >=20 > Hi, >=20 > Can't you just install openjdk14 and start the application with = /usr/local/openjdk14/bin/java? >=20 > A port like net-mgmt/unifi5 has a rc.conf setting = unifi_java_home=3D"/usr/local/openjdk11" which you can set to deviate = from the default JDK. >=20 > Regards, > Ronald. >=20 > On 2020-08-27 20:55, Robert Huff wrote: >> Hello: >> Java novice here. >> Suppose I have a port - FOO - built and running with openjdk-12. >> I'd like to test it with openjdk-14 _without_ changing the >> settings in make.conf. >> Is there an command-line arguement I can feed make that will >> cause that to happen? Assume I have installed openjdk-14. >> (I looked at bsd.java.mk ... my eyes glazed over ... and I backed >> carefully out of the room.) >>=20 >>=20 >> Respectfully, >>=20 >>=20 >> Robert Huff >>=20 >> _______________________________________________ >> freebsd-java@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-java >> To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-java@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org"