Link to home
Start Free TrialLog in
Avatar of brgdotnet
brgdotnetFlag for United States of America

asked on

Installing Java SE13

I want to install Java SE13 on my laptop. However I am wondering if their might be an issue, because if I go to my Users directory and type java -version then I get version 1.8.0_241-b07

So will their be a conflict if I install Java SE13 and java version 1.8.0_241-b07 has already been installed?
Note that I will also be installing netbeans as my code IDE.

Example in DOS:
C:\Users\Walter>java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.80.0_241-b07)
Java HotSpot(TM) Client VM (build 25.241-b07, mixed mode)
Avatar of girionis
girionis
Flag of Greece image

You should not have issues if you do not include Java SE13 in your path and you do not change the Java home. Keep Java 1.8 as it is and only use Java 13 with Netbeans.
You can of course use 13 from the command line if you do
set PATH="<put the 13 install directory here without the angle brackets>;%PATH%"

Open in new window

Then you can check with
java -version

Open in new window

Avatar of brgdotnet

ASKER

Thanks experts. I get the idea you are talking about, but I am still a little confused. CEHJ, are you saying that the following steps should work:

1. Download and Install Java SE13
2. set PATH="<put the 13 install directory here without the angle brackets>;%PATH%"
3. Install NetBeans IDE
4. Reboot the computer and all should work well.


ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You do say that but the asker did not understand it.

4. Reboot the computer and all should work well.

The asker assumed that it would work after a restart, which is only true if you set it as environment variable (not from the command line).This is why I clarified it.
This is why I clarified it.
Ah, i see. Yes - thanks for that