Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38691

Re: Java licensing

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Java licensing
Date 2018-12-13 21:05 -0500
Organization Aioe.org NNTP Server
Message-ID <puv35l$14se$1@gioia.aioe.org> (permalink)
References <puv250$3lu$1@dont-email.me>

Show all headers | View raw


On 12/13/2018 8:48 PM, Rhino wrote:
> I'm late to the party on this one but I'm hoping to catch up....
> 
> I saw messages to the effect that Java licensing is changing several 
> months back when I last updated my Java 8.* JDK but hadn't taken the 
> time to look into it. Tonight, I realized my version of Eclipse on this 
> machine was getting pretty dated and decided to update it to Eclipse 
> 2018-09. When I launched the new version, it converted my workspace, as 
> uual, and immediately broke all my JavaFX code. Every single JavaFX 
> import was suddenly invalid. I decided to install the latest Java 10 
> JDK, only to find that JDK 10 is already out of support so I found the 
> current JDK for Java 11. Before downloading it, I saw the important 
> notice about the licensing and finally read it.
> 
> The bit that caught my eye was that it only allowed me to write demos 
> with it; I could NOT write code for my own personal use or to support a 
> very low-traffic website used by a club I'm in, as I have been doing for 
> a while now. Well, I suppose there *is* a way but I'm guessing it 
> involves giving someone money for the privilege. The license agreement 
> doesn't talk about this so my first question is: how do I get the right 
> to use the code I've written for my own personal use and to support my 
> club's website?
> 
> The Oracle website said another option I had was to use the Java 11 
> under a GPL license, which seems like it would allow what I want to do. 
> So I downloaded the Open JDK for Java 11 but I'm darned if I can figure 
> out how to coax Eclipse to use it; it doesn't contain a JRE and that's 
> what Eclipse wants. So, my second question is: can I get Eclipse to use 
> the Open JDK and, if so, how?

re license)

Oracle Java and OpenJDK are practically the same code base.

Java <= 10 worked like:

paid Oracle Java - support almost forever
free Oracle Java - support N years
open source OpenJDK - support for N years

Java >=11 simplified that:

paid Oracle Java - support almost forever
open source OpenJDK - support for 0.5/N years

So you need to take OpenJDK if you don't want to pay.

And Eclipse works fine with OpenJDK.

re support)

Java <= 8 worked like:
* new version every 2-3 years
* all versions similar in support

Java >= 9 works like:

* new version every 6 months
* every third version is LTS (long term support)
* non-LTS versions are supported 6 months
* LTS versions are supported 3 years

If you are not interested in frequent upgrades you will
want to only take LTS versions.

So you will upgrade 8 -> 11 -> 14 -> 17 -> 20.

re JavaFX)

JavaFX status is a bit messy.

Java 6 & 7 : separate download
Java 8     : bundled with Oracle Java, no modules
Java 9, 10 : bundled with Oracle Java, modules
Java 11    : separate download

So for Java 11 you need to download JavaFX.

Link:
    https://openjfx.io/

Arne


Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Java licensing Rhino <no_offline_contact@example.com> - 2018-12-13 20:48 -0500
  Re: Java licensing Arne Vajhøj <arne@vajhoej.dk> - 2018-12-13 21:05 -0500
    Re: Java licensing Arne Vajhøj <arne@vajhoej.dk> - 2018-12-13 21:10 -0500
      Re: Java licensing Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2018-12-14 10:42 +0100
        Re: Java licensing Eric Douglas <e.d.programmer@gmail.com> - 2018-12-14 06:24 -0800

csiph-web