Re: JWS Program problem with MAC



Andrew Thompson wrote:
On Mar 23, 12:26 pm, "John B. Matthews" <nos...@xxxxxxxxxx> wrote:
In article <47e58b1b$0$1630$b9f67...@xxxxxxxxxxxxxxxxxx>,
Knute Johnson <nos...@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
...
No JRE version found in launch file for this system

I do not know if it is related, but just noticed
something odd in John's output.

Between your original JNLP file which states
a single Jar (presumably containing a main)..

<jar href='sVFRFlightLog.jar' />

..and how the plug-in interprets that as..

<jar
href="http://rabbitbrush.frazmtn.com/aviation/sVFRFlightLog.jar";
download="eager" main="false"/>

..main="false"? How did it conclude that?
The default is that the 'first listed' jar
should contain a main().

I cannot see how it would affect the launch,
but perhaps you should try explicitly stating
that the jar contains the main(). Note that I
cannot see *why* it would be necessary to
specify that - barring a bug in the plug-in.

--
Andrew T.
PhySci.org

Thanks guys. I'm pretty sure this must be the problem that my friend was running into trying to run the program.

I added a main= to the <jar> element. Please try it again and see if it has the same problems.

--

Knute Johnson
email s/nospam/linux/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
.



Relevant Pages

  • Re: How to find a .class file in a bunch of JARs?
    ... I'm on Solaris 9. ... Does anyone know of a way to search through JAR ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: How to find a .class file in a bunch of JARs?
    ... I'm on Solaris 9. ... Does anyone know of a way to search through JAR ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: ProcessBuilder.start() without waiting?
    ... Then it will exit when the process stops. ... Jar files don't need the .jar extension to work by the way. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: Is there really no wildcard adding for "jar -cvf my.jar classes*.class" ?
    ... However when I specify all the class files in detail: ... Is there really no flag/option to let users pass wildcards for jar adding operations? ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.help)
  • Re: Is there really no wildcard adding for "jar -cvf my.jar classes*.class" ?
    ... However when I specify all the class files in detail: ... Is there really no flag/option to let users pass wildcards for jar adding operations? ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.help)