Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

JNLP Format

Posted on 2011-09-29
5
812 Views
Last Modified: 2012-05-12
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

0
Comment
Question by:jchauncey60
  • 2
  • 2
5 Comments
 
LVL 47

Accepted Solution

by:
for_yan earned 250 total points
ID: 36817254

Can you elaborate on what kind of problem are you experiencing when you try to launch it?
0
 

Author Comment

by:jchauncey60
ID: 36817312
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) Exception screen
0
 
LVL 47

Expert Comment

by:for_yan
ID: 36817535

Maybe you could see anything useful on two other tabs - LaunchFile and Console ?
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 250 total points
ID: 36817782
>><jar href="//10.4.0.14/tightvnc-jviewer.jar" main="true"/>


look dubious. Try


<jar href="http://10.4.0.14/tightvnc-jviewer.jar" main="true"/>

Open in new window

0
 

Author Closing Comment

by:jchauncey60
ID: 36904830
We have decided to take a different approach to solving this problem. Thanks for your help.  Your comments helped us decide on a path.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java: The Public Class Main 4 30
Reverse DND setup 6 38
windows server 2012 R2 DHCP clustering ? 5 19
American Express @Work site and Java 4 20
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question