gpt4 book ai didi

java - 尝试访问 Java 1.8 物理文件时检测到虚拟 Java 1.6

转载 作者:太空宇宙 更新时间:2023-11-04 11:45:47 24 4
gpt4 key购买 nike

我的机器安装了 Java 1.8 物理应用程序和 Java 1.6 虚拟应用程序。当启动与 JAva 1.8 相关的快捷方式时,它会获取 java 1.6 虚拟文件,但失败。

这是我在快捷方式失败时选择“详细信息”选项卡时观察到的代码

此外,当仅安装物理 1.8 时,应用程序运行正常,但当同一计算机上安装虚拟 1.6 时,应用程序会失败

将用于启动产品的 Java 版本。 -->

<!-- Java version ranges are listed in preferred order from first to last. --> 
<!-- The client system will be checked for all version ranges, in the listed order. -->
<!-- If the client system does not have any JVMs installed that match the listed -->
<!-- version ranges, Webstart will download the newest available version permitted -->
<!-- by all of the version ranges taken together, regardless of order. -->
<!-- So: when the j2se version is set to "1.7*"... -->
<!-- 1) Webstart will first check the client system for Java 1.7. -->
<!-- 1.7* = version starts with 1.7 -->
<!-- 2) If a valid update level of Java 1.7 is not found, Webstart will download -->
<!-- the newest available version permitted by any of the version ranges. -->
<!-- So, as of this writing, Webstart would download 1.7 update 25 at this step. -->
<!-- As later updates of 1.7 are released, Webstart will download those instead. -->
<!-- It will never download Java 1.8 since the version range does not permit it. -->
<!-- CA Wily has deliberately chosen 1.7.0 as the minimum update level since this -->
<!-- we assume Java 7 features are available. -->
<!-- Users can customize the ranges to allow other update levels at their own risk. -->
<!-- If you edit the below version range list, be sure to edit the following file as well -->
<!-- to use an identical list: com.wily.introscope.workstation.feature_#.#.#.jsp, located -->
<!-- in the same directory as this file. --> `
<j2se version="1.7* 1.8*"
java-vm-args="-Xms64m -Xmx512m -Dsun.java2d.noddraw=true"
href="http://java.sun.com/products/autodl/j2se"/>
<property name="sun.java2d.noddraw" value="true"/>

<!--  <application-desc main-class="org.eclipse.equinox.launcher.WebStartMain">-->
<application-desc main-class="com.ca.apm.introscope.workstation.webstart.launcher.LaunchWrapper">

<argument>-noexit</argument>
<argument>-clean</argument>

<argument>-loginhost</argument>
<argument>30.130.37.38</argument>
<argument>-loginport</argument>
<argument>5001</argument>
<argument>-autofill</argument>
<argument>true</argument>
<argument>-timezone</argument>
<argument>timezone</argument>


<argument>-conmeth</argument>

<argument>all</argument>


</application-desc>
</jnlp>

最佳答案

您的 AppV JRE 可能正在泄漏。当 AppData\LocalLow\Sun\Java\Deployment 中的 deployment.properties 文件在排序过程中未捕获并且 native JRE 开始从该文件读取时,可能会发生这种情况。引用http://packageology.com/2014/02/sequencing-java-the-definitive-guide-part-1/获取完整的测序指南。

关于java - 尝试访问 Java 1.8 物理文件时检测到虚拟 Java 1.6,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42360267/

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