Re: How to make java client app to download jar package from server autoly?



sealo wrote:
.....
I want to write a command line java client program.

Why? Or rather, why would you want to use Java to
program a tool intended to be run from within the
command line, as opposed to a program with a GUI?

..And the program
need to use the jar package, but the package was located in the server.
I want the client program to download the jar package automarically at
the program startup.
I am not familiar with java. Could you tell me how to do it?

If it is the GUI'd program, it could be launched using
web-start, with the Jar file being downloaded lazily
(when 1st needed) or eagerly (at time of first run).

Web-start was designed to launch GUI'd, but not
command line based, client programs.

Andrew T.

.



Relevant Pages

  • Re: A constructive debate: Eclipse or NetBeans?
    ... that Linux and command-line driven languages like OCaml are so much more ... That's because most people never learn to use a command line or a simple ... Trying to run other people's OpenGL-based Java demos from the web I find ... OpenGL). ...
    (comp.lang.java.softwaretools)
  • Process.waitFor() returns, but threads reading output/error streams are blocked on read
    ... threads to read in the out/err streams, ... i'll include the java source below, but the problem seems extremely specific ... passed in on the command line). ... process is hung if i terminate the process the command line tool connects to ...
    (comp.lang.java.programmer)
  • Re: Timed wait fails under WebStart in Java 1.6 prerelease?
    ... the java command line. ... that I show you the jnlp specs for the configuration which does not run: ... java.specification.vendor: <Sun Microsystems Inc.> ...
    (comp.lang.java.programmer)
  • Re: Regexes on the command line
    ... When the java command inside the script executes it reanalyzes the command string and since the single quotes are gone it misinterprets the special characters. ...
    (comp.lang.java.programmer)
  • Re: My shell cant find Java
    ... I downloaded java with netbeans from Sun ... >> Each time I type java I get an unknown command error. ... how you set environment variable depends on what shell you're using. ...
    (comp.lang.java.help)