簡體   English   中英

Windows上的Java控制面板如何與機器上安裝的許多不同版本的Java一起使用?

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

我正在努力指定我的Windows 7機器上的許多Java安裝中的哪一個將被Internet Explorer用於(1)運行applete以及(2)用於Java web start。

例如,我將轉到Java控制面板中的Java-View選項卡,更改其中的復選框,然后在高級選項卡中顯示Java控制台,然后從控制台標題中找到並不總是在Java-View中檢查的Java實際上是在我的瀏覽器中執行applet。

在Java控制面板Java-View和“用戶”選項卡中,還有一個“系統”選項卡。 人們通常無法改變任何東西,但這意味着什么,它是否扮演任何角色?

在Java控制面板高級選項卡中,您會看到“默認Java瀏覽器”復選框。 為什么Microsoft Internet Explorer復選框始終處於選中狀態且始終顯示為灰色? 此復選框是重要的還是Java-View選項卡屏幕,它實際上影響IE操作?

同樣在每個java instalation的jre / bin文件夾中,我看到javacpl.exe文件並且可以執行它們中的每一個,但我猜,其中只有一個出現在實際的計算機控制面板中。 您如何確定哪些是真正顯示的並且可以通過我的計算機控制面板執行? 使用替代javacpl.exe可執行文件做任何事情是否有意義 - 它們的執行是否會影響我與IE java相關的功能。

基本上,我完全混淆了這種機制是如何運作的,如果有人能夠對上述問題的至少某些部分做出一些澄清,我將非常感激。 我在這里談論Java 1.6和Java 1.7,我想如果我們試圖在這個問題中覆蓋舊的Java版本會更加困難。

非常感謝您對此主題的任何幫助。

關於你的第一個問題" 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."

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.

第二個問題 -

"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?"

答案 - 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. 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.

第三個問題 -

     "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?"

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

希望有所幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM