Recently, news about JDK starting to charge has been flying all over the place. Various messages are mixed in, and some Java engineers or companies that use Java application development are inevitably worried. The following is what former Oracle chief engineer Yang Xiaofeng said on this topic. analyze.
Recently, there have been constant rumors about Java charging. I didn’t want to comment on this. After all, some responsible media have already clarified it many times, and my own position is not neutral. , and, if you read those articles carefully, you will find that the first sentence is often self-contradictory.
However, there are still some friends in the enterprise who are constantly asking, including a former colleague who once worked in the Java group, whether there are really any legal risks in using Java in the future? Will Java still develop in the future? It seems that the chaos caused by the rumors is beyond imagination.
In view of this, let’s be clear, Java is still free! And regarding everyone’s main questions, I would like to share my personal views:
First, “My company wants to use new versions such as JDK 11, but does not want to pay, what should I do?”
Enterprise users still have reliable ways to obtain free JDK. They can use GPL-licensed OpenJDK released by Oracle and others, or use OpenJDK products released by the AdoptionOpenJDK community, etc., or even capable users build it from the source code themselves!
Second, "I don't want to upgrade JDK. Can I still use the current JDK 8?"
Of course you can! This is normal software EOL. OracleJDK 8 just stopped free updates after being supported for nearly 5 years. Note the "update". Users who continue to use JDK8 are no different from users who are currently stuck on JDK 6 and 7. To facilitate understanding, you can compare it with customers who are still using Windows 7 or XP. They are only unable to obtain security updates, but they will not lose the right to use them. This depends on the user's own judgment and choice.
Third, "What if you still want to get the JDK 8 update?"
This depends on what JDK you are using, please consult us accordingly It's the manufacturer's strategy. Most enterprise users should be using Oracle JDK, so they need to subscribe to Oracle JDK support services before they can update. Of course, individual users can continue to update for free until December 2020. Users of other vendors such as Azul, Redhat, IBM, etc. also need to confirm the relevant roadmaps. For JDK 8 users, this is the only situation where they may need to pay.
Fourth, "Java is GPL licensed. Do I want to open source applications developed in Java?"
No, this is pure nonsense, Java The developed application has nothing to do with OpenJDK's GPL authorization!
More than one friend has expressed concerns about Java GPL v2 CPE protocol authorization. The source seems to be the recent promotional selling point of an open source project. This can only be admired for its imagination and values. Even GPL can be an attack. Point, I really have mastered the core competitiveness~
OpenJDK’s GPL authorization will only restrict manufacturers that produce and release JDK products based on OpenJDK source code, not applications developed by Java. It is simply impossible for most users It is a JDK manufacturer, so there is no need to worry. Moreover, Java is not open source only today. There are many open source projects licensed under GPL, such as Linux, which is also one of the most common and popular licensing options in the industry.
Okay, let’s not dwell on this issue anymore. Serious IT decision-makers may have always thought this was a joke. Maybe you will be curious,
Why has Java caused such a stir recently? So confused?
Personally, I think this is the combined impact of historical reasons and the ongoing changes in the OpenJDK community, and some domestic self-media only care about attracting attention:
Chapter 1. JDK! = Oracle JDK
For a long time, because Oracle has provided a nearly "free" JDK, most Java users, especially individuals and small and medium-sized enterprises, have had the illusion that "JDK = Oracle JDK "Although IBM, Azul, Redhat, etc. all have their own JDK products released to the public, there are also many enterprise users. This deep and natural dependence has caused huge discomfort at the end of the free support period of JDK 8.
Secondly, JDK 8 and others have been so successful that it will take a while for subsequent JDKs to be adopted.
A common practice of OpenJDK is that after many years of free support, the Oracle JDK version enters EOL (End of Life) and then gives up leadership, and the community takes over and leads subsequent updates. .
However, after nearly 5 years of development, JDK 8 is still very popular. Users are not ready and do not have enough motivation to upgrade JDK, not to mention many users who are still using JDK 6 and 7. , this may be a problem faced by all basic software.
Third, the power center of OpenJDK is shifting to the community!
Java is gradually adopting a faster iteration cycle (one major version every six months), more open product features (Oracle has open sourced ZGC, AppCDS, JFR, etc.) and more active community collaboration (for example, The ProjectSkara project will switch the OpenJDK code library to github), etc.
Although it is likely to be a benefit in the long run, it inevitably brings confusion, because developers need long-term confidence in the Java ecosystem, and enterprise IT decision-makers need a predictable Java roadmap, which often comes from the core The long-term dominance of manufacturers, "What freelancers actually like most is five insurances and one housing fund!".
Okay, finally it is clear again that Java is still free, OpenJDK is becoming more open and active, Java/JVM has a clear development roadmap, time will tell everything. To paraphrase the official announcement, Java developers and IT decision-makers can take "reassurance":-)
The above is the detailed content of What to do if java charges. For more information, please follow other related articles on the PHP Chinese website!

Java is widely used in enterprise-level applications because of its platform independence. 1) Platform independence is implemented through Java virtual machine (JVM), so that the code can run on any platform that supports Java. 2) It simplifies cross-platform deployment and development processes, providing greater flexibility and scalability. 3) However, it is necessary to pay attention to performance differences and third-party library compatibility and adopt best practices such as using pure Java code and cross-platform testing.

JavaplaysasignificantroleinIoTduetoitsplatformindependence.1)Itallowscodetobewrittenonceandrunonvariousdevices.2)Java'secosystemprovidesusefullibrariesforIoT.3)ItssecurityfeaturesenhanceIoTsystemsafety.However,developersmustaddressmemoryandstartuptim

ThesolutiontohandlefilepathsacrossWindowsandLinuxinJavaistousePaths.get()fromthejava.nio.filepackage.1)UsePaths.get()withSystem.getProperty("user.dir")andtherelativepathtoconstructthefilepath.2)ConverttheresultingPathobjecttoaFileobjectifne

Java'splatformindependenceissignificantbecauseitallowsdeveloperstowritecodeonceandrunitonanyplatformwithaJVM.This"writeonce,runanywhere"(WORA)approachoffers:1)Cross-platformcompatibility,enablingdeploymentacrossdifferentOSwithoutissues;2)Re

Java is suitable for developing cross-server web applications. 1) Java's "write once, run everywhere" philosophy makes its code run on any platform that supports JVM. 2) Java has a rich ecosystem, including tools such as Spring and Hibernate, to simplify the development process. 3) Java performs excellently in performance and security, providing efficient memory management and strong security guarantees.

JVM implements the WORA features of Java through bytecode interpretation, platform-independent APIs and dynamic class loading: 1. Bytecode is interpreted as machine code to ensure cross-platform operation; 2. Standard API abstract operating system differences; 3. Classes are loaded dynamically at runtime to ensure consistency.

The latest version of Java effectively solves platform-specific problems through JVM optimization, standard library improvements and third-party library support. 1) JVM optimization, such as Java11's ZGC improves garbage collection performance. 2) Standard library improvements, such as Java9's module system reducing platform-related problems. 3) Third-party libraries provide platform-optimized versions, such as OpenCV.

The JVM's bytecode verification process includes four key steps: 1) Check whether the class file format complies with the specifications, 2) Verify the validity and correctness of the bytecode instructions, 3) Perform data flow analysis to ensure type safety, and 4) Balancing the thoroughness and performance of verification. Through these steps, the JVM ensures that only secure, correct bytecode is executed, thereby protecting the integrity and security of the program.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Notepad++7.3.1
Easy-to-use and free code editor

Zend Studio 13.0.1
Powerful PHP integrated development environment

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software
