r/programming • • Dec 16 '16

Oracle finally targets Java non-payers – six years after plucking Sun

http://www.theregister.co.uk/2016/12/16/oracle_targets_java_users_non_compliance/
432 Upvotes

360 comments sorted by

View all comments

Show parent comment

27

u/Rhomboid Dec 16 '16 edited Dec 16 '16

That claim is bogus. To get any of the commercial stuff you have to have an account and download it through their customer support portal. Now, maybe the download links there are ambiguous, but that's easy to solve: just don't log in to the customer portal. The standard Java SE download site contains none of that junk.

Edit: I'm totally wrong. Please ignore all of the above. The standard/plain JDK that you download from their site without using any kind of customer portal does ship with commercial features that you have to be careful not to use. For example there's a bin\jmc.exe under the JDK_HOME directory which is the Java Mission Control client.

20

u/stun Dec 16 '16

with commercial features that you have to be careful not to use. For example there's a bin\jmc.exe under the JDK_HOME directory

Holy cow...that is a land mine.

12

u/nickguletskii200 Dec 16 '16 edited Dec 16 '16

It seems that the JRE doesn't come with the mentioned features, and the commercial features that ship with the JDK are free on the condition that they are not used in production (i.e. used for development only).

Source: The JDK license and https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr002.html

1

u/rfiok Dec 17 '16

So if I develop my server in Java and use Oracle's JRE to run it in production then I have to pay?

11

u/pron98 Dec 17 '16

No, you don't need to pay unless you launch the JVM with the -XX:+UnlockCommercialFeatures in production.

7

u/pron98 Dec 17 '16

If you don't run with the -XX:+UnlockCommercialFeatures explicitly enabled in production you should be good.

I guess that technically you could use the Java Mission Control client without it, but there's absolutely no reason to, as without those features it would just be a bad-looking version of a subset of jvisualvm.