Link to home
Start Free TrialLog in
Avatar of jchauncey60
jchauncey60Flag for United States of America

asked on

JNLP Format

Good day, I am working on a Web Start page for TightVNC.  The concept is that there is a web page with a list of servers that can be connected to; when the user clicks the hyperlink the JNLP XML is executed.  That I understand how to build.

The problem is that my JNLP file does not not launch the Java Viewer and being a newbie, I not sure what I am missing.

Any help will be appreciated!
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc.//DTD JNLP 1.5//EN" "http://www.netbeans.org/jnlp/DTD/jnlp.dtd">
<jnlp spec="1.0" codebase="http://10.4.0.14/" href="test.jnlp">
	<information>
		<title>TightVNC Viewer</title>
		<vendor>GlavSoft LLC.</vendor>
		<homepage href="http://www.tightvnc.com/"/>
		<description>TightVNC Viewer</description>
		<icon href="tightvnc-logo-16x16.png" width="16" height="16"/>
		<icon href="tightvnc-logo-32x32.png" width="32" height="32"/>
		<offline-allowed/>
		<shortcut online="false">
		<desktop/>
		<menu submenu="Accessories"/>
		</shortcut>
	</information>
	<resources>
	<j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
	</resources>
    <application-desc
         name="TightVNC"
         code="com.glavsoft.viewer.Viewer"
         width="300"
         height="300"
    </application-desc>
    <jar href="//10.4.0.14/tightvnc-jviewer.jar" main="true"/>
    <param> 
         host="10.4.0.14"
         port="5900"
         OpenNewWindow="yes"
         ShowControls="yes"
         ViewOnly="no"
         ShareDesktop="yes"
         AllowCopyRect="yes"
         Encoding="Tight"
         CompressionLevel=""
         JpegImageQuality=""
         LocalPointer="On"
         colorDepth=""
         ScalingFactor="100"
     </param>
</jnlp>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of for_yan
for_yan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jchauncey60

ASKER

Sorry I didn't include that up front; I am seeing one of two problems. (1) either the App hangs or (2) i am getting an exception (see screen shot) User generated image

Maybe you could see anything useful on two other tabs - LaunchFile and Console ?
SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
We have decided to take a different approach to solving this problem. Thanks for your help.  Your comments helped us decide on a path.