Hacker Newsnew | past | comments | ask | show | jobs | submit | blueshirt's commentslogin

If your company is selling a product and you want to package the JRE with it, you have to pay for the license


But couldn't you package an OpenJDK JRE build with your product instead of using the Oracle JRE, and thus not need to pay anything?


Probably yes, depending on the license of OpenJDK, but if you want Oracle JRE, you have to pay


Buy why you would want OracleJDK instead of OpenJDK? Those are nearly identical.

Also is this the case if you use jlink (and/or jpackage)?

BTW. JRE is no more since JDK 9, and Oracle doesn't offer it (but other vendors do) - so in case of Oracle builds one hase to use jlink or package whole JDK.


My guess would be you have some kind of safety net by having a company to turn to in case of issues, you probably can request new features, you may have better performances (since the implementation is different) etc...

Not saying what is best/worst, it's mostly a matter of opinion / contracts in the end.


The implementation isn't different, so there shouldn't be any performance difference - the Oracle JDK is a lightly modified build of OpenJDK.


That only applies if you're using a commercial distribution. You can always use a free distribution like Eclipse Temurin or Amazon Corretto for most of the usecases.


it is strange why anyone would pay for the oracle jre when you can pick from one of many implementations that are free. There are some tiny differences in the oracle jdk but just try to swap them out, it should be pretty easy


Why not just auto-download the openjdk?


And in Ayurveda it's called a Vata mind!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: