![]() Here's a search for OpenJDK on Debian: $ sudo apt search openjdk | less If your distribution doesn't use the latest tag, it may use another keyword, such as default. Install Java on Fedora or similar with: $ sudo dnf install java-latest-openjdk Only if the application you're trying to run insists that you need a legacy version of Java should you look past the latest release. For example, on Fedora: $ sudo dnf search openjdk | \ Depending on what package manager you use, you might even consider using grep to filter the search results to include only the latest versions. Some distributions use the keyword latest to indicate the most recent version, which is usually what you need to run whatever application you're trying to run. Now that you know your choices, you can search for OpenJDK or IcedTea with your package manager and install the version you need. It's safest to develop on IcedTea or OpenJDK. If you opt for Oracle's version, be aware that there are proprietary plugins and fonts in the package, which could interfere with distributing your application. If you're a developer who needs to make the choice, then you should consider what components you need. Free online course: Developing cloud-native applications with microservices architectures.On Linux, you can have several different versions of Java installed all at once, and they won't interfere with one another. ![]() When an application tells you that you need Java 12, but your repository only has Java 8, it's fine to install whatever implementation of Java 12 you can find from a reliable source. If you feel overwhelmed by the choices, then the easy answer of which Java implementation you should install is whichever is easiest for you to install. The IcedTea project is essentially OpenJDK, but its goal is to make it easier for users to build and deploy OpenJDK when using fully free and open source tools. Oracle bundles proprietary components with its Java downloads, while the OpenJDK project is fully open source. Luckily, Java is an open source technology, so if you're not happy with the way Oracle maintains the project, you have other options. When Sun Microsystems was bought by Oracle, Java was a major part of the sale. What's the difference between OpenJDK, IcedTea, and OracleJDK?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |