1

我的机器安装了 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>
4

1 回答 1

0

您的 AppV JRE 可能正在泄漏。如果在排序期间未捕获 AppData\LocalLow\Sun\Java\Deployment 中的 deployment.properties 文件并且本机 JRE 开始从该文件中读取,则会发生这种情况。有关完整的测序指南,请参阅http://packageology.com/2014/02/sequencing-java-the-definitive-guide-part-1/

于 2018-04-19T09:30:51.140 回答