Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Cecil Westerhof Newsgroups: linux.debian.maint.java Subject: Re: Working with JavaFX Date: Mon, 07 Dec 2015 01:50:01 +0100 Message-ID: References: X-Original-To: debian-java@lists.debian.org X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Dec 7 00:49:45 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-5.799 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=BCcIGuoLJ/xVYENVzW3ZII17oW5j6WDFZaLIlE3rMR8=; b=FBjt/6jxgU7TjfDMPeineDu599OOxs36HrsWlCZ1xy3+Xj7y9vUvIaLpxLNZCAxE/X 1WNhzBSnlGUjz71/JQW/N/AttkDzQbW7AUEqrIok+RafsDeaP6OFsFA24aJdyYtlMNrW KtF4JdS24FMjixB13o9F/BSlLZ0UIWdTzqvmh3grjwoPapS8MCsTgNE9fZppxw6lFT4X F8PbFKGVnsTmu3hKBtYBw+T3tqgb8RLkYue9P0g18bLpcvdwj09KseaE5KVzEQ/obiGH ASWuTHVEtvciOINHcNct2i1Hxelp/T7aYhEZtCSx4w8z1g3nE+MzRpEKCzBtfsRqe8aB +snQ== MIME-Version: 1.0 X-Received: by 10.107.3.101 with SMTP id 98mr26620716iod.182.1449449368696; Sun, 06 Dec 2015 16:49:28 -0800 (PST) Content-Type: multipart/alternative; boundary=001a113ed20ebdbd490526443a13 X-Mailing-List: archive/latest/18970 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAG-LmmCoyDrt4VegmfYOXHRSL2D73G8SkjhrQk5eO5Jh5WjuBg@mail.gmail.com Approved: robomod@news.nic.it Lines: 93 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 7 Dec 2015 01:49:28 +0100 X-Original-Message-ID: X-Original-References: <56649EEF.6060002@apache.org> <5664BC1F.7020901@apache.org> Xref: csiph.com linux.debian.maint.java:8651 --001a113ed20ebdbd490526443a13 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2015-12-06 23:52 GMT+01:00 Emmanuel Bourg : > > But my Java version is 7. Is something =E2=80=8Bgoing wrong here? > > The default runtime is still Java 7. You can switch to Java 8 by using > update-java-alternatives. For example: > > sudo update-java-alternatives --set java-1.8.0-openjdk-amd64 > =E2=80=8BWorks like a charm.=E2=80=8B > > =E2=80=8BBut for Java 8 I need to install unstable packages I understoo= d. Or am > > I mistaken?=E2=80=8B > > openjdk-8 as found in unstable has been rebuilt for Jessie and is > available from the jessie-backports repository. This backport is > perfectly suitable for a stable environment. > =E2=80=8BThat worked also.=E2=80=8B > > =E2=80=8BThat explains it: the Debian distribution of Java is different= as the > > Oracle one. > > Indeed, Oracle bundles several things that you'll find in separate > packages in Debian (openjdk--jdk, visualvm, openjfx, icedtea-web) > =E2=80=8BI installed also the openjdk. Now I can start writing JavaFX appli= cations. --=20 Cecil Westerhof --001a113ed20ebdbd490526443a13 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2015= -12-06 23:52 GMT+01:00 Emmanuel Bourg <ebourg@apache.org>:
> But my Java version = is 7. Is something =E2=80=8Bgoing wrong here?

The default runtime is still Java 7. You can switch to Java 8 by usi= ng
update-java-alternatives. For example:

=C2=A0 =C2=A0 sudo update-java-alternatives --set java-1.8.0-openjdk-amd64<= br>

=E2=80=8BWorks like a charm.=E2=80=8B=
=C2=A0
=C2=A0
=C2=A0
> =E2=80=8BBut for Java 8 I need to install unstable packages I understo= od. Or am
> I mistaken?=E2=80=8B

openjdk-8 as found in unstable has been rebuilt for Jessie and is available from the jessie-backports repository. This backport is
perfectly suitable for a stable environment.
=C2=A0
=E2=80=8BThat worked also.=E2=80=8B

<= div>=C2=A0
> =E2=80=8BThat explains it: the Debian distribution of Java is differen= t as the
> Oracle one.

Indeed, Oracle bundles several things that you'll find in separa= te
packages in Debian (openjdk-<n>-jdk, visualvm, openjfx, icedtea-web)<= br>

=E2=80=8BI installed also the openjdk= . Now I can start writing JavaFX applications.

--
=
Cecil Westerhof
--001a113ed20ebdbd490526443a13--