7 Replies Latest reply: Feb 24, 2014 4:51 PM by Ricardo AV RSS

    Launching AutoVue using jnlp

    Docia

      Can anyone give me a jnlp that will succesfully launch AutoVue?

       

      This applet tag works fine.

      <APPLET

                              NAME="JVue"

                              CODE="com.docia.cfm.autovue.CFM_Avue_Applet.class"

                              CODEBASE="/plugin/autovue"

                              ARCHIVE="jvue.jar,jogl.jar,gluegen-rt.jar,cfmAvue.jar"

                              HSPACE="0" VSPACE="0"

                              WIDTH="100%" HEIGHT="100%"

                              MAYSCRIPT="on"

                          >

                          <PARAM NAME="EMBEDDED" VALUE="true">

                          <PARAM NAME="VERBOSE" VALUE="false">

                          <PARAM NAME="ONINIT" VALUE="onAppletInit();">

                          <PARAM NAME="LOCALE" VALUE="EN">

                          <PARAM NAME="JVUESERVER" VALUE="<%= Configuration.getValue( "AUTOVUE_SERVLET_SERVER")%>">

                          <p><b>Requires a browser that supports Java.</b></p>

      </APPLET>

       

      I'm trying this to launch with jnlp:

       

      <script src="https://www.java.com/js/deployJava.js"></script>

                          <script>

                              var attributes = { code:'com.cimmetry.jvue.JVue', 

                                                 width:'100%',

                                                 height:'100%'} ;

                              var parameters = {jnlp_href: '/plugin/autovue/autovue.jnlp',

                                                permissions: 'sandbox',

                                                EMBEDDED: 'true',

                                                VERBOSE: 'false',

                                                ONINIT: 'onAppletInit();',

                                                LOCALE: 'EN',

                                                JVUESERVER: '<%= Configuration.getValue( "AUTOVUE_SERVLET_SERVER")%>'} ;

                              deployJava.runApplet(attributes, parameters, '1.7');

                          </script>

       

       

      <?xml version="1.0" encoding="UTF-8"?>

      <jnlp spec="1.0+" security="all-permissions">

          <information>

              <title>AutoVue Applet</title>

              <vendor>Oracle</vendor>

              <homepage href="www.oracle.com"></homepage>

          </information>

          <resources>

              <!-- Application Resources -->

              <j2se version="1.7+"

                  href="http://java.sun.com/products/autodl/j2se" />

              <jar href="jvue.jar" main="true" />

              <jar href="jogl.jar"></jar>

              <jar href="gluegen-rt.jar"></jar>

          </resources>

          <applet-desc

               name="AutoVue Applet"

               main-class="com.cimmetry.jvue.JVue.class"

               width="1"

               height="1">

           </applet-desc>

           <update check="background"/>

      </jnlp>