DEV Community

loading...

Discussion on: Why do beginner hate Java so much

khmarbaise profile image
Karl Heinz Marbaise • Edited

What exactly you are referencing to? The module system? The module system is opt-in so if you use it then yes that would break more or less all apps, but no library etc. is using it so keep your java on classpath and it works as before ...

Update: In 2020/2021 some libraries have begun to use the module system...which takes time as expected...

Furthermore if you are referencing on the small changes which could cause breaking your code then I quote myself:

If your code does not work on newer java version you are doing very strange things... I used code which was written with Java 5,6 and works without any issues on JDK9,10,11, 12, 13 etc.

The majority of those changes have been deprecated for more than a decade ... and produce warnings during the builds (compiling) Ok if you ignore such things? Ok... then you have a problem...

I've migrated a lot of projects from JDK4,5,6,7 to JDK 8 and afterwards to JDK 11 and we had exactly 3 such cases using deprecated code of the JDK .... so where is the problem?...If would start to blame someone I would blame the original developers to use deprecated code or even worse not cleaned up the code after years...

Forem Open with the Forem app