Results 1 to 1 of 1
Thread: Testing jnlp file locally
- 02-12-2011, 04:18 PM #1
Member
- Join Date
- Feb 2011
- Posts
- 1
- Rep Power
- 0
Testing jnlp file locally
I'm trying to test jnlp locally on OS X.
In a directory I have an html file, a jnlp file, and a jar file.
The jnlp file cannot find the jar file.
I've tried codebase=".", but this doesn't work:
BadFieldException[ The field <jnlp>codebase has an invalid value: .,.]
The machine's local ip address is 192.168.0.6
codebase="http://192.168.0.6" href="Users/apple/Documents/ccs.jnlp
That gives this error: com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://192.168.0.6/Users/apple/Documents/ccs.jnlp
May there is something required before the "Users" directory in that path?
How can I get this to work?
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="." href="ccs.jnlp">
<information>
<title>Some TItle</title>
<vendor> - Some Vendor</vendor>
<homepage href="http://www.somewhere.edu/home.html" />
<offline-allowed />
</information>
<resources>
<j2se version="1.5+" />
<jar href="ccs.jar" />
</resources>
<application-desc main-class="ccs.MyApplication" />
</jnlp>Last edited by allelopath; 02-12-2011 at 09:35 PM.
Similar Threads
-
Error message when trying to run a JNLP file
By dewitrydan in forum New To JavaReplies: 9Last Post: 08-28-2010, 04:42 PM -
Error while executing the executable jar file using Java webstart (JNLP)
By praveen_has in forum New To JavaReplies: 0Last Post: 04-28-2010, 03:33 PM -
Problems getting jar file running locally
By edpfister in forum Java AppletsReplies: 2Last Post: 03-09-2009, 08:01 PM -
Not able to generate excel file locally
By wickedrahul9 in forum Advanced JavaReplies: 4Last Post: 10-23-2008, 11:17 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks