简体   繁体   中英

Download JRE 8 but version still says 1.7.0_95

I need JRE 8 so I can utilize- javaFX, but when I check my "java -version" on MobaXterm it still says 1.7.0_95. Is there another step I need to do besides downloading it from Oracle?

You probably need to update the PATH environment variable. That will determines what binary gets executed when you run java from a command prompt / shell.

It might even be that you >>just<< need to restart your command shell.

Reference:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM