Redian新闻
>
A question about JRE and JDK:
avatar
A question about JRE and JDK:# Java - 爪哇娇娃
d*k
1
我在操作系统的environment 中设定的java_home指向一个JDK 1.5 的package; 但是当
我run java –version的时候系统告诉我当前的jre 版本是1.6。 我以前从来没有注意
过这个问题。这么说,操作系统当前的jre不是由java_home决定的?我一直以为jre的
version是由jdk决定的。 那么系统中这个1.6的jre是哪儿来的?我从来没有安装过。
自动update 的吗?那如果我要想把jre该回到1.5, 那该怎么改呢?Thanks in advance
avatar
m*t
2
you probably have a 1.6 jre on your PATH ahead of the 1.5 one.
It happens for example on windows, where the jre installs a
copy of java.exe into windows/system32.
avatar
d*k
3
Hi, dude, you are one of those amazing guys! It is exactly that case! Thanks
a lot, man!

【在 m******t 的大作中提到】
: you probably have a 1.6 jre on your PATH ahead of the 1.5 one.
: It happens for example on windows, where the jre installs a
: copy of java.exe into windows/system32.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。