Teaching with Java is Still Free

It's not easy to wade through the recent licensing changes with Java. It's particularly confusing for folks who use Java for education. Fortunately, it's not rocket science. If you teach with Java, relax, there is nothing to worry. Most of you will continue to use the current free version of Java, but you can also get older ones if you need them.

stillfree

A few days ago, one of my university colleagues asked me: “I was reading through Oracle's roadmap for Java, which I didn't fully understand, but the general drift seems to be that Java will require a license after 2020. How will this impact our students? How will it impact Scala? Should we be discussing a new language for our introductory courses?”

A very timely question. As it happens, a number of “Java Champions” have worked diligently to put together a document to cut through all that confusion. Here is the fruit of their labor

With the recent changes to Oracle JDK distribution and support, there’s been considerable uncertainty in the Java ecosystem over the rights to use Oracle JDK vs Oracle's OpenJDK builds vs OpenJDK builds from other providers. Working with the various providers, the Java Champions (an independent body of Java experts) have put together a comprehensive Java Is Still Free document on the changes and the choices you have going forward, and yes Java is Still Free!

The Java Is Still Free document has comments and suggested edit access switched on and will periodically be updated to reflect the latest accurate information. It is being disseminated widely and we'd appreciate you sharing this with your colleagues and within your organizations. (Please update the dissemination doc when you do.)"

There is a lot of technical information, not all of interest to educators. Here is what you need to know if you teach with Java.

  1. You, your students, and your institution, can continue to use Java without paying a fee. You don't have to ask anyone for permission to use Java. You and your students can download Java as you always did.
  2. It has always been the case that ancient versions of Java are unsupported. If you must have a Java version 7 or below, you can still get them from archives, but you are on your own.
  3. As always, Oracle offers the latest version of Java for a free download. I can never remember the download site, but http://java.sun.com redirects to it.
  4. Those versions change more quickly than they used to—every six months instead of roughly every two years.
  5. For most programming courses, the latest version by Oracle will be fine. There are two exceptions:
  6. If either of these applies to you, you and your students can download Java 8 at https://adoptopenjdk.net/ Java 8 will be around for a good long time because of the disruptive module system in Java 9.

That's it. It's not rocket science. Most of the verbiage in the “Java is Still Free” document applies to commercial users, not educators. Those folks worry about security updates and obscure bug fixes. You almost certainly don't care. And if you do, there are free sources, just not from Oracle. Switching to Python, C++, JavaScript, Scheme, Haskell, or whatever, won't simplify your life. How will you manage the updates and fixes for those?

But what about...

Scala (and other JVM based languages such as Clojure, Frege, Jython, etc. etc.)
Free implementations of the JVM continue to exist, so there is no change. Check your favorite JVM based language for details. For example, Scala isn't yet fully working with the Java 9 module system, and it is recommended to use Java 8. It is unlikely that this situation will persist for much longer. But if it does, Java 8 is freely available until 2020 at the Oracle download site, and I predict it will be freely available well beyond that date from elsewhere.
Applets and Java Web Start
These technologies have been dying a slow death for many years. Nowadays, end users who wish to configure a browser and a Java plug-in must have considerable technical skills. This entirely negates the benefit of automatic delivery of remote applications. Here are your alternatives:
The Java job market
If your motivation to teach Java was to prepare students for a job, you should probably keep on doing just that. The relative rankings of Java, C++, C, C#, Python, JavaScript, and so on, in the various language surveys haven't changed all that much over the years, and no other language has managed to displace them. It is unlikely that industry programmers will abandon Java in droves because the free version now changes every six months rather than every two years.

Comments powered by Talkyard.