Solved

JNLP Format

Posted on 2011-09-29
5
811 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now