尝试访问Java 1.8物理文件时检测到虚拟Java1.6

时间:2017-02-21 06:34:50

标签: java appv

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

这是我选择" detail"时所观察到的代码。快捷方式失败时的选项卡

此外,只安装了物理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>

1 个答案:

答案 0 :(得分:0)

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