Hello guys. So I just reached new level and it is asking that I download OpenJDK 16. Except I already have Oracle Java 8 already installed? Can I download the second one while keeping the first or will it cause some issues to have both installed on the same machine? Also do I need OpenJDK specifically for this course or can I simply use what I already have?
JDK 8 and OpenJDK?
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Soham1087
20 January 2023, 12:48
It is possible to have multiple versions of Java installed on the same machine, and they can coexist without causing issues. However, you will need to configure your system to use the correct version of Java for the specific task or application you are working on.
You can install OpenJDK 16 without removing Oracle Java 8, and you can switch between them by configuring the system's PATH environment variable to point to the appropriate version of the Java executable. For example, you can set the PATH variable to point to the Oracle Java 8 executable when working on an application that requires that version, and then change it to point to the OpenJDK 16 executable when working on an application that requires that version.
0
John Squirrels Website Admin at CodeGym
21 November 2022, 10:35
Hello!
You can have both JDK 16 and JDK 8 installed at the same time. You can choose any while completing our tasks.
0