9/5/2023 0 Comments Install oracle java ubuntusudo apt install openjdk-11-jdk openjdk-11-jdk-headless openjdk-11-jre Install Java on Ubuntu So, open a terminal and update the system repositories sudo apt updateĪnd then install the Java 11 related packages with the following command. So we will opt for version 11 which has proven to be quite mature and quite new. However, it is not necessary to install both. This aspect makes them highly recommendable in any type of project. Both are LTS, that is, they will be supported by Oracle and Linux distributions for quite some time. The two versions in question are 11 and 8. In Ubuntu, there are two versions of Java using OpenJDK. Remember, it is not necessary to install both. However, in this post, we’ll install both and then choose the one you like best. So for almost any project, we do not care about the choice. Otherwise, there is no problem.įinally, it is worth noting that there are no major technical differences between the two. If it is for commercial projects then there is a limit of use. The reality is that the restrictions depend on the use that will be made of Java. Similarly, Oracle Java is the proprietary version of Java. This is the version that is incorporated in most of the Linux distributions and that works for almost any case. On the other hand, the OpenJDK project took advantage of the fact that Java is open source, to create a community version without licensing problems. Currently, it belongs to the Oracle company that releases it under certain commercial restrictions. Java is a language and a software platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |