Re: How do you execute a JAR file?





On Jan 28, 2:41 pm, "Andrew Thompson" <andrewtho...@xxxxxxxxx> wrote:
On Jan 29, 6:32 am, "phillip.s.pow...@xxxxxxxxx"

<phillip.s.pow...@xxxxxxxxx> wrote:
On Jan 28, 2:27 pm, Knute Johnson <nos...@xxxxxxxxxxxxxxxxxxxxxxx>
Knute Johnson
email s/nospam/knute/Do you have a package problem? Is the main class GUI.IconMaker or
IconMaker?
...
..The main class is called "IconMaker", in a "default package" that
remains unnamed by NetBeans,Expect *all* sorts of problems with classes in the
'default' package. They *can* be successfully jar'd
and deployed, but I would say that
a) NetBeans is adding complications into the mix
b) It won't, for a normally packaged class.

The default package is really only suitable for
test and toy codes. Once you have code worth
deploying (and prefererably a lot sooner) it
should be moved from the default package,
into a conventional package.

I will remember that going forward. For now at least I did get
IconMaker to run simply by blowing the JAR file apart into individual
classes and directories. I can't "re-JAR" it back together again
unfortunately, but then again, given the structure, I'd just rather
wait and reconfigure the build before doing so.

Thanx
Phil


Andrew T.

.



Relevant Pages

  • Re: Packages and relative symbols
    ... >> Symbols will always be interned in the current package, ... > markup symbols that are interpreted elsewhere. ... You don't have a package problem, ... NIL (or pass:escape nil if you're using WRITE) around your print ...
    (comp.lang.lisp)
  • Re: How do you execute a JAR file?
    ... email s/nospam/knute/Do you have a package problem? ... remains unnamed by NetBeans, ... test and toy codes. ...
    (comp.lang.java.help)
  • Weird Delphi 2007 package problem: [DCC Error] DelphiTechnologyTpacketVersion127.dpk(38): E2161 RLIN
    ... Weird Delphi 2007 package problem: ... DelphiTechnologyTconnectionVersion118 is a package as well. ...
    (alt.comp.lang.borland-delphi)
  • version of libglib2.0-0 too high
    ... I have a package problem i cannot solve: ... In order to build a gtkmm GUI project, I must install the package ...
    (Debian-User)
  • Re: Strange problem with PDW
    ... My app has a sequence where if a certain dircetory does not exist it is ... This works in the IDE and it works when compiled. ... package, and the package run as a test (having first deleted BLOGGS if it ... When deploying, all that is ...
    (microsoft.public.vb.general.discussion)