gpt4 book ai didi

java - 一台电脑真的只有一个java版本吗?

转载 作者:行者123 更新时间:2023-12-01 07:14:29 24 4
gpt4 key购买 nike

java -version 命令确实返回我用来浏览网页的 java 版本,但我在 netbeans/eclipse 中使用的 java 版本可能完全不同版本?

事实上我在netbeans和eclipse中使用的java版本可以不同吗?

或者系统只有 1 个版本的 java 可以在所有应用程序中运行?

最佳答案

is it true that the java -version command returns the java version for the java that I use to browse the web,

不,它返回系统路径中第一个版本。浏览器可能使用不同的版本。

but the java version that I use in netbeans / eclipse can be a totally different version?

是的

In fact can the version of java i use in netbeans and eclipse be different?

是的

Or is it that a system only has 1 version of java that works throughout all applications?

没有

关于java - 一台电脑真的只有一个java版本吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6251163/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com