Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22270

Web Start problem

From emf <emfril@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Web Start problem
Date 2013-02-11 03:47 -0500
Organization Aioe.org NNTP Server
Message-ID <kfaasd$qps$1@speranza.aioe.org> (permalink)

Show all headers | View raw


I'm learning Web Start using eclipse but from a book that uses the 
command prompt method. So in eclipse I have 2 projects: the first 
contains files downloaded from the book's website (and does not contain 
the programs in packages, and in the second I copy and compile the same 
files but in packages as eclipse requires.

The jnlp file in the first project:

=============
<?xml version="1.0" encoding="UTF-8"?>

<jnlp spec="1.0+" 
codebase="file:///C:/MyStuf~1/MyFile~1/Java/worksp~1/JIES/10-Dep~1" 
href="Lotto.jnlp">

    <information>
       <title>Lotto Application</title>
       <vendor>Java In Easy Steps</vendor>
       <homepage href="http://www.ineasysteps.com" />
       <offline-allowed/>
    </information>

    <resources>
       <jar href="Lotto.jar"/>
       <j2se version="1.6+" 
href="http://java.sun.com/products/autodl/j2se"/>
    </resources>

    <application-desc main-class="Lotto"/>

</jnlp>
=============

works just fine and the program runs OK.

However, the jnlp of the second project:

=============
<?xml version="1.0" encoding="UTF-8"?>

<jnlp spec="1.0+" 
codebase="file:///C:/MyStuf~1/MyFile~1/Java/worksp~1/JavaIn~1/10_Dep~1/" 
href="Lotto.jnlp">

    <information>
       <title>Lotto Application</title>
       <vendor>Java In Easy Steps</vendor>
       <homepage href="http://www.ineasysteps.com" />
       <offline-allowed/>
    </information>

    <resources>
       <jar href="Lotto.jar"/>
       <j2se version="1.6+" 
href="http://java.sun.com/products/autodl/j2se"/>
    </resources>

    <application-desc main-class="Lotto"/>

</jnlp>
=============

does not find the jnlp file (java.io.FileNotFoundException: The system 
cannot find the path specified).

Can the problem be that the program in the second project inside the jar 
is in a package? If not, what else could the problem be?

Thanks,

emf

-- 
Natal Transits calculator
https://files.nyu.edu/emf202/public/jf/NatalTransits.html

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Web Start problem emf <emfril@gmail.com> - 2013-02-11 03:47 -0500
  Re: Web Start problem "John B. Matthews" <nospam@nospam.invalid> - 2013-02-11 08:50 -0500
  Re: Web Start problem Roedy Green <see_website@mindprod.com.invalid> - 2013-02-12 11:53 -0800
  Re: Web Start problem Roedy Green <see_website@mindprod.com.invalid> - 2013-02-13 18:50 -0800
    Re: Web Start problem "John B. Matthews" <nospam@nospam.invalid> - 2013-02-14 12:57 -0500
      Re: Web Start problem markspace <markspace@nospam.nospam> - 2013-02-14 10:41 -0800

csiph-web