Results 1 to 1 of 1
  1. #1
    allelopath is offline Member
    Join Date
    Feb 2011
    Rep Power

    Default 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
    codebase="" href="Users/apple/Documents/ccs.jnlp
    That gives this error: Unable to load resource:

    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">
    <title>Some TItle</title>
    <vendor> - Some Vendor</vendor>
    <homepage href="" />
    <offline-allowed />
    <j2se version="1.5+" />
    <jar href="ccs.jar" />
    <application-desc main-class="ccs.MyApplication" />
    Last edited by allelopath; 02-12-2011 at 10:35 PM.

Similar Threads

  1. Error message when trying to run a JNLP file
    By dewitrydan in forum New To Java
    Replies: 9
    Last Post: 08-28-2010, 04:42 PM
  2. Replies: 0
    Last Post: 04-28-2010, 03:33 PM
  3. Problems getting jar file running locally
    By edpfister in forum Java Applets
    Replies: 2
    Last Post: 03-09-2009, 09:01 PM
  4. Not able to generate excel file locally
    By wickedrahul9 in forum Advanced Java
    Replies: 4
    Last Post: 10-23-2008, 11:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts