How Java Control Panel on windows functions in conjunction with many different versions of Java installed on the machine?

时间:2022-10-02 06:59:53

I'm struggling with specifying which one of the many java installations on my Windows 7 machine would be used by the Internet Explorer for (1) running applete as well as (2) for Java web start.

我正在努力指定我的Windows 7机器上的许多Java安装中的哪一个将被Internet Explorer用于(1)运行applete以及(2)用于Java web start。

For example, I am going to that Java-View tab in Java Control Panel, change the checkbox there, then make Java Console visible in the advanced tab and then find from the Console header that not always Java which is checked in the Java-View is actually executing applets in my browser.

例如,我将转到Java控制面板中的Java-View选项卡,更改那里的复选框,然后在高级选项卡中显示Java控制台,然后从控制台标题中找到并不总是在Java-View中检查的Java实际上是在我的浏览器中执行applet。

In Java Control Panel Java-View along with the "User" tab, there is also a "System" tab. One usually cannot change anything there, but what does that mean, and does it play any role?

在Java控制面板Java-View和“用户”选项卡中,还有一个“系统”选项卡。人们通常无法改变任何东西,但这意味着什么,它是否扮演任何角色?

In Java Control Panel Advanced tab you see "Default Java for browsers" checkboxes. Why Microsoft Internet Explorer checkbox there is always checked and always grayed out? Is this checkbox important or is it Java-View tab screen, which actually affects IE operations?

在Java控制面板高级选项卡中,您会看到“默认Java浏览器”复选框。为什么Microsoft Internet Explorer复选框始终处于选中状态且始终显示为灰色?此复选框是重要还是Java-View选项卡屏幕,它实际上影响IE操作?

Also in jre/bin folder of each java instalation I see javacpl.exe file and can execute each of them, but only one of them, I guess, appears in actual computer Control Panel. How do you determine, which of them is really shown and can be executed through my computer Control Panel? Does it make sense to do anything with alternative javacpl.exe executables - will their execution affect my IE java-related functionality.

同样在每个java instalation的jre / bin文件夹中,我看到javacpl.exe文件并且可以执行它们中的每一个,但我猜,其中只有一个出现在实际的计算机控制面板中。你如何确定哪些是真正显示的并且可以通过我的计算机控制面板执行?使用替代javacpl.exe可执行文件做任何事情是否有意义 - 它们的执行是否会影响我与IE java相关的功能。

Basically, I'm in total confusion of how this mechanism works, and wwould very much appreciate if someone could give some clarification on at least some part of the above questions. And I'm mostly talking here about Java 1.6 and Java 1.7, I guess it would be even more difficult if we try to cover in this question also older java versions.

基本上,我完全混淆了这种机制是如何运作的,如果有人能够对上述问题的至少某些部分做出一些澄清,我将非常感激。我在这里谈论的是Java 1.6和Java 1.7,我想如果我们试图在这个问题中覆盖旧Java版本,那将会更加困难。

Thanks a lot for any help on this subject.

非常感谢您对此主题的任何帮助。

1 个解决方案

#1


0  

Regarding your first question " which one of the many java installations on my Windows 7 machine would be used by the Internet Explorer for (1) running applete as well as (2) for Java web start."

关于你的第一个问题“我的Windows 7机器上的哪一个java安装将由Internet Explorer用于(1)运行applete以及(2)用于Java web启动。”

This can  be tested by making your applets contain Java 7 features like "Diamond Operator". Compile it by jdk 1.7 and then try to run in browser, if it runs then your browser is using 1.7 else 1.6.

Second ques -

第二个问题 -

"In Java Control Panel Java-View along with the "User" tab, there is also a "System" tab. One usually cannot change anything there, but what does that mean, and does it play any role?"

Answer- This is my guess that system tab will contain that option which is configured in JAVA_HOME environment variable OR it can that jdk which was installed more recently installed. Because offcourse default can be only one and not two.

答案 - 我猜这个系统选项卡将包含在JAVA_HOME环境变量中配置的选项,或者它可以安装最近安装的jdk。因为默认情况只能是一个而不是两个。

Third question -

第三个问题 -

     "In Java Control Panel Advanced tab you see "Default Java for browsers" checkboxes. Why Microsoft Internet Explorer checkbox there is always checked and always grayed out? Is this checkbox important or is it Java-View tab screen, which actually affects IE operations?"

Answer - The option is grayed out because the option is already chosen for you and you need not specify that.

答案 - 该选项显示为灰色,因为已为您选择了该选项,您无需指定该选项。

Hope that helps.

希望有所帮助。

#1


0  

Regarding your first question " which one of the many java installations on my Windows 7 machine would be used by the Internet Explorer for (1) running applete as well as (2) for Java web start."

关于你的第一个问题“我的Windows 7机器上的哪一个java安装将由Internet Explorer用于(1)运行applete以及(2)用于Java web启动。”

This can  be tested by making your applets contain Java 7 features like "Diamond Operator". Compile it by jdk 1.7 and then try to run in browser, if it runs then your browser is using 1.7 else 1.6.

Second ques -

第二个问题 -

"In Java Control Panel Java-View along with the "User" tab, there is also a "System" tab. One usually cannot change anything there, but what does that mean, and does it play any role?"

Answer- This is my guess that system tab will contain that option which is configured in JAVA_HOME environment variable OR it can that jdk which was installed more recently installed. Because offcourse default can be only one and not two.

答案 - 我猜这个系统选项卡将包含在JAVA_HOME环境变量中配置的选项,或者它可以安装最近安装的jdk。因为默认情况只能是一个而不是两个。

Third question -

第三个问题 -

     "In Java Control Panel Advanced tab you see "Default Java for browsers" checkboxes. Why Microsoft Internet Explorer checkbox there is always checked and always grayed out? Is this checkbox important or is it Java-View tab screen, which actually affects IE operations?"

Answer - The option is grayed out because the option is already chosen for you and you need not specify that.

答案 - 该选项显示为灰色,因为已为您选择了该选项,您无需指定该选项。

Hope that helps.

希望有所帮助。