Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > need skeleton for jnlp file

Reply
Thread Tools

need skeleton for jnlp file

 
 
Aryeh M. Friedman
Guest
Posts: n/a
 
      03-17-2013
I have a JNLP file that is buggy (long story so don't ask) and I want to start fresh... to that end can someone send me a "hello, world" (downloads and starts via webstart [itweb-javaws for me] and prints to the command line "hello, world") using the simplest possible jnlp to call it... feel free touse the below version if you want:

public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("hello, world");
}
}
 
Reply With Quote
 
 
 
 
Joerg Meier
Guest
Posts: n/a
 
      03-17-2013
On Sat, 16 Mar 2013 23:35:56 -0700 (PDT), Aryeh M. Friedman wrote:

> I have a JNLP file that is buggy (long story so don't ask) and I want to start fresh... to that end can someone send me a "hello, world" (downloads and starts via webstart [itweb-javaws for me] and prints to the command line "hello, world") using the simplest possible jnlp to call it... feel free to use the below version if you want:


Try typing "Webstart tutorial" into Google.

Liebe Gruesse,
Joerg

--
Ich lese meine Emails nicht, replies to Email bleiben also leider
ungelesen.
 
Reply With Quote
 
 
 
 
Arne Vajhøj
Guest
Posts: n/a
 
      03-17-2013
On 3/17/2013 2:35 AM, Aryeh M. Friedman wrote:
> I have a JNLP file that is buggy (long story so don't ask) and I
> wantto start fresh... to that end can someone send me a "hello, world"
> (downloads and starts via webstart [itweb-javaws for me] and prints to
> the command line "hello, world") using the simplest possible jnlp to
> call it... feel free to use the below version if you want:
>
> public class HelloWorld
> {
> public static void main(String[] args)
> {
> System.out.println("hello, world");
> }
> }


The JNLP is very simple.

Something like:

<?xml version="1.0" encoding="UTF-8"?>
<jnlp href="hello.jnlp">
<information>
<title>Console app JNLP demo</title>
<vendor>Arne</vendor>
</information>
<resources>
<j2se version="1.6+"
href="http://java.sun.com/products/autodl/j2se" />
<jar href="hello.jar" main="true" />
</resources>
<application-desc name="JNLP demo" main-class="HelloWorld">
</application-desc>
</jnlp>

But console apps and JNLP are not that good a combo.

You will need to change config to show Java console to actually
see the output from System.out.println.

Arne



 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      03-17-2013
On Sat, 16 Mar 2013 23:35:56 -0700 (PDT), "Aryeh M. Friedman"
<> wrote, quoted or indirectly quoted someone
who said :

>I have a JNLP file that is buggy (long story so don't ask) and I want to st=
>art fresh... to that end can someone send me a "hello, world" (downloads an=
>d starts via webstart [itweb-javaws for me] and prints to the command line =
>"hello, world") using the simplest possible jnlp to call it... feel free to=
> use the below version if you want:


see http://mindprod.com/jgloss/jnlp.html
http://mindprod.com/jgloss/javawebstar.html
--
Roedy Green Canadian Mind Products http://mindprod.com
The computer programmer is a creator of universes for which he alone
is the lawgiver. No playwright, no stage director, no emperor, however
powerful, has ever exercised such absolute authority to arrange a stage
or a field of battle and to command such unswervingly dutiful actors or
troops.
~ Joseph Weizenbaum (born: 1923-01-08 died: 2008-03-05 at age: 85)
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      03-17-2013
On Sun, 17 Mar 2013 10:20:57 -0700, Roedy Green
<> wrote, quoted or indirectly quoted
someone who said :

>http://mindprod.com/jgloss/javawebstar.html


oops http://mindprod.com/jgloss/javawebstart.html

--
Roedy Green Canadian Mind Products http://mindprod.com
The computer programmer is a creator of universes for which he alone
is the lawgiver. No playwright, no stage director, no emperor, however
powerful, has ever exercised such absolute authority to arrange a stage
or a field of battle and to command such unswervingly dutiful actors or
troops.
~ Joseph Weizenbaum (born: 1923-01-08 died: 2008-03-05 at age: 85)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to revise my JNLP file Ramon F Herrera Java 11 07-13-2009 05:03 PM
How to convert types between axis skeleton and POJO facade service generically cmi@ch.ibm.com Java 0 04-09-2006 08:15 PM
stub + skeleton lukchiuming@gmail.com Java 0 02-23-2006 06:00 PM
Stubs and Skeleton Eclipse ilyas Java 1 12-07-2004 04:59 PM
jnlp, jar file and list the file names in a directory Ferman Java 0 08-13-2003 07:57 AM



Advertisments