Live data from Hacker News

Ask HN: Anyone rewriting Java code due to new license costs?

news.ycombinator.com

21–25 of 25 posts

Re: Ask HN: Anyone rewriting Java code due to new license costs?

#22

Earlier quoted context omitted.

If it becomes a problem it will be too late to not pay Oracle huge fees/fines for using it against the license. Oracle is known for their license enforcement, it might even bankrupt your company.

We hardly have any servers and are using an old version of JDK 8 under the old license. It does not keep me up at night.

In that case you're fine. I would still be wary of people accidentally updating. We IP blocked Oracle download servers from corporate network lol

Re: Ask HN: Anyone rewriting Java code due to new license costs?

#23
post #21

I'm surprised nobody mentioned Kotlin. It's similar but better, simple enough that reading/writing code is close to pseudocode. Google has moved towards officially supporting Kotlin instead of Java for Android development.

What do you mean by "instead"? It seems to me they support both languages as equals (the Android documentation contains examples in both languages) and have no plans of ditching Java.

Re: Ask HN: Anyone rewriting Java code due to new license costs?

#25
post #21

I'm surprised nobody mentioned Kotlin. It's similar but better, simple enough that reading/writing code is close to pseudocode. Google has moved towards officially supporting Kotlin instead of Java for Android development.

What do you mean by "instead"? It seems to me they support both languages as equals (the Android documentation contains examples in both languages) and have no plans of ditching Java.

A month ago (https://android-developers.googleblog.com/2019/05/google-io-...):

”Today we’re announcing another big step: Android development will become increasingly Kotlin-first. Many new Jetpack APIs and features will be offered first in Kotlin. If you’re starting a new project, you should write it in Kotlin”

“Just use Kotlin” doesn’t help for the licensing issue, though, if you keep using Oracle’s JVM.

Post reply on HN