![]() ![]() ![]() There’re 2 separate ways of setting OpenJDK on CentOS – from the default CentOS repository (OpenJDK 8) and manually downloading and setting the OpenJDK (OpenJDK 11).See Also: Step 1: Install OpenJDK 11 on CentOS 7 yum -y install java-11-openjdk java-11-openjdk-devel cat > /etc/profile.d/java11.sh > ~/.bash_profile source ~/.bash_profile Let’s go and enjoy OpenJDK! Getting OpenJDK I just got my CentOS machine ready, now I need to set OpenJDK. For Linux, I prefer the OpenJDK one as it’s more convenient on the Linux platform and almost all the major Linux distros integrate with OpenJDK easier than the Oracle counterpart.ĬentOS is the open-source and community edition of the well-known and respected RHEL (Red Hat Enterprise Linux). You can work with both the Oracle Java and the OpenJDK. Linux is my favorite platform for programming, especially Java. When you wish to run it, it’s the task of the JRE to read the universal binary and run it smoothly on the current system. When you compile a Java program, it generates a “jar” package that contains a universal binary form of the app. Of course, Java programs require a special environment to work on. Note that by default, JDK comes up with JRE, so you don’t have to manually install JRE again. When it’s necessary to build your apps or do some programming on Java, it’s always important to have all the necessary tools ready, for example, the compiler (also known as JDK – Java Development Kit) and the runtime (also known as JRE – Java Runtime Environment). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |