title: Can you Run Java on Chrome? JNLP?
body: <p>I am making a website, and I NEED to have a VNC Viewer on it. I already use Tight VNC and they have a Java Viewer. This code is able to run as an applet, but modern browsers such as Chrome and Firefox do not allow applets. Is there another way to run Java code on Chrome? </p>
  
  <p>I have read that some browsers support Java Web Start, but I don't think Chrome does. If Chrome does can anyone help me convert this applet to a JNLP file?</p>
  
  <pre><code>&lt;applet archive="tightvnc-jviewer.jar"
      code="com.glavsoft.viewer.Viewer"
      width="1" height="1"&gt;
      &lt;param name="Host" value="localhost"/&gt;
      &lt;!-- Host to connect. Default:  the host from which the applet was loaded. --&gt;
      &lt;param name="Port" value="5900"/&gt;
      &lt;!-- Port number to connect. Default: 5900 --&gt;
      &lt;!--param name="Password" value="" /--&gt; &lt;!-- Password to the server (not recommended to use this parameter here) --&gt;
      &lt;param name="OpenNewWindow" value="yes"/&gt;
      &lt;!-- yes/true or no/false. Default: yes/true --&gt;
      &lt;param name="ShowControls" value="yes"/&gt;
      &lt;!-- yes/true or no/false. Default: yes/true --&gt;
      &lt;param name="ViewOnly" value="no"/&gt;
      &lt;!-- yes/true or no/false. Default: no/false --&gt;
      &lt;param name="AllowClipboardTransfer" value="yes"/&gt;
      &lt;!-- yes/true or no/false. Default: yes/true --&gt;
      &lt;param name="RemoteCharset" value="standard"/&gt;
      &lt;!-- Charset encoding is used on remote system. Use this option to specify character encoding will be used for encoding clipboard text content to. Default value (when parameter is empty): local system default character encoding. Set the value to 'standard' for using 'Latin-1' charset which is only specified by rfb standard for clipboard transfers. --&gt;
  
      &lt;param name="ShareDesktop" value="yes"/&gt;
      &lt;!-- yes/true or no/false. Default: yes/true --&gt;
      &lt;param name="AllowCopyRect" value="yes"/&gt;
      &lt;!-- yes/true or no/false. Default: yes/true --&gt;
      &lt;param name="Encoding" value="Tight"/&gt;
      &lt;!-- Possible values: "Tight", "Hextile", "ZRLE", and "Raw". Default: Tight --&gt;
      &lt;param name="CompressionLevel" value=""/&gt;
      &lt;!-- 1-9 or empty. Empty means server default --&gt;
      &lt;param name="JpegImageQuality" value=""/&gt;
      &lt;!-- 1-9, Lossless or empty. When param is set to "Lossless" no jpeg compression used. Empty means server default --&gt;
      &lt;param name="LocalPointer" value="On"/&gt;
      &lt;!-- Possible values: on/yes/true (draw pointer locally), off/no/false (let server draw pointer), hide). Default: "On"--&gt;
      &lt;param name="ConvertToASCII" value="no"/&gt;
      &lt;!-- Whether to convert keyboard input to ASCII ignoring locale. Possible values: yes/true, no/false). Default: "No"--&gt;
  
      &lt;param name="Tunneling" value="auto"/&gt;
      &lt;!-- Tunneling. Possible values:
      auto - allow viewer to choose tunneling mode,
      none/no - no tunneling use,
      SSL - choose SSL tunneling when available.
      Default: "auto" --&gt;
  
      &lt;param name="colorDepth" value=""/&gt;
      &lt;!-- Reserved for future. Possible values: 6, 8, 16, 24, 32 (equals to 24). Only 24/32 is supported now --&gt;
      &lt;param name="ScalingFactor" value="100"/&gt;
      &lt;!-- Scale local representation of the remote desktop on startup. Default is 100 means 100% --&gt;
      &lt;!--param name="showConnectionDialog" value="yes" /--&gt;
      &lt;!-- Set to "No" if you want not to show initial connection dialog. Default: "Yes". --&gt;
      &lt;param name="AppletGoodbyeURL" value="about:blank"/&gt;
      &lt;!-- URL to be redirected on applet stopping. When blank or absent stop applet and do nothing. --&gt;
      &lt;!-- SSH tunneling options --&gt;
      &lt;param name="sshHost" value=""/&gt;
      &lt;!-- SSH host name. --&gt;
      &lt;param name="sshUser" value=""/&gt;
      &lt;!-- SSH port number. When empty, standard SSH port number (22) is used --&gt;
      &lt;param name="sshPort" value=""/&gt;
      &lt;!-- SSH user name. --&gt;
  
  &lt;/applet&gt;
  </code></pre>
  
  <p>If you want the .jar file it is downloadable at <a href="http://www.tightvnc.com/download.php" rel="nofollow noreferrer">http://www.tightvnc.com/download.php</a></p>
  
  <p>If there is no way to run Java from Chrome, is there a way for me to make a link that will open the user to that page in Internet Explorer?</p>