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


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

Re: a question about creating the JAR file

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: a question about creating the JAR file
Date 2012-11-01 18:26 -0700
Organization Canadian Mind Products
Message-ID <928698d10dvbjo2sr8picuruphrkl5olve@4ax.com> (permalink)
References <c34600e7-78d9-44a5-a79c-ee804ed992e2@googlegroups.com>

Show all headers | View raw


On Fri, 26 Oct 2012 13:58:45 -0700 (PDT), zyng <xsli2@yahoo.com>
wrote, quoted or indirectly quoted someone who said :

>
>My confusion is do I need to bundle helper.jar into hello.jar?

You could do in that way, but repackingt would be considered the baby
way. Embedding a intact jar in a jar is an unnatural  act.

You could use Java Webstart to ensure the user has the latest jars.
See http://mindprod.com/jgloss/javawebstart.html

You could some sort of installer to handle this for you.
see http://mindprod.com/jgloss/installer.html

You could do it bare-chested style with an embedded
Class-Path in the master jar.
see http://mindprod.com/jgloss/jar.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Ironically, even though the Internet was created by the US military 
[DARPA (Defense Advanced Research Projects Agency)]
to withstand a nuclear attack, it is almost defenceless against malice
from any of its users

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


Thread

a question about creating the JAR file zyng <xsli2@yahoo.com> - 2012-10-26 13:58 -0700
  Re: a question about creating the JAR file Lew <lewbloch@gmail.com> - 2012-10-26 14:14 -0700
    Re: a question about creating the JAR file zyng <xsli2@yahoo.com> - 2012-10-31 12:41 -0700
      Re: a question about creating the JAR file Lew <lewbloch@gmail.com> - 2012-10-31 15:19 -0700
  Re: a question about creating the JAR file Sven Köhler <remove-sven.koehler@gmail.com> - 2012-10-27 16:54 +0200
    Re: a question about creating the JAR file Jan Burse <janburse@fastmail.fm> - 2012-10-27 17:20 +0200
      Re: a question about creating the JAR file Jan Burse <janburse@fastmail.fm> - 2012-10-27 17:24 +0200
        Re: a question about creating the JAR file Sven Köhler <remove-sven.koehler@gmail.com> - 2012-10-27 19:06 +0200
    Re: a question about creating the JAR file Lew <lewbloch@gmail.com> - 2012-10-28 09:44 -0700
  Re: a question about creating the JAR file Roedy Green <see_website@mindprod.com.invalid> - 2012-11-01 18:26 -0700

csiph-web