![]() There are 2 programs which provide 'java'. Sample Output: ~]$ sudo alternatives -config java Now that you have installed Java 11, you need to set it as the default Java version on your system. Package Architecture Version Repository Size Last metadata expiration check: 17:28:30 ago on Fri 12:25:10 PM EDT. Sample Output: ~]$ sudo yum install java-11-openjdk java-11-openjdk-devel OpenJDK 64-Bit Server VM (build 25.362-b09, mixed ~]$ Step 2: Install Java 11 on Rocky Linux sudo yum install java-11-openjdk java-11-openjdk-devel OpenJDK Runtime Environment (build 1.8.0_362-b09) If you see a version number that starts with 1.8, then you are running Java 8. This command will display the version of Java currently installed on your system. To do this, open a terminal window and enter the following command: java -version See also: Step 1: Check Your Current Java Versionīefore you upgrade your Java installation, you need to check which version of Java you are currently using.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |