Re: Newbie Eclipse question: Exported jar file does nothing upon execution



On Jun 1, 4:27 am, Mark Space <marksp...@xxxxxxxxxxxxxx> wrote:
Andrew Thompson wrote:

Add a manifest that specifies the main-class.

Huh.  Doesn't java -jar throw an error if the main class isn't set
correctly?

Probably. Not used it in a long time.

Maybe he's double clicking from Windows and not seeing the error...

That is the guess I made, mostly based on the
presumption that a newbie IDE user does not
know of the command line tools of the SDK.

It could do with clarification, though.

While I'm here..

RGB - Sorry, I did not realise the OP would
immediately make a new post do c.l.j.help.

OP - Sorry, but I should have stressed that
my advice on better places to post was intended
for *future* threads, and (as you might have
noticed) that making a new post to another
usenet newsgroup, on the exact same subject
(usually called called multi-posting) is frowned
on.

--
Andrew T.
PhySci.org
.



Relevant Pages

  • re: thread
    ... >> And the message about handling these things at a strategic level ... >> whenever possible is enticing, ... > This book was written by two Sun engineers who work on the Java ... this was my original advice to the OP. ...
    (comp.lang.java.help)
  • Re: [SLE] Java How-To (SuSE 8.x, RedHat 8.x)
    ... After reading both your advice and the reply from Roberto Dohnert, ... create a link to the new java, the above stuff seems to take care ... For the Mozilla plugin, Mozilla has the best info on that at ...
    (SuSE)
  • Re: Building a linked list
    ... buried amongst all the other excellent advice there. ... the ones who struggled hard to master the material, ... The Java Glossary ...
    (comp.lang.java.programmer)
  • Re: spyware PING: David
    ... > Java and was ultimately sued by Sun and Microsoft rightfully lost the ... > phase out the use of their application of Sun Java. ... David ... I was thinking about their advice to move away from using MS Java. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: extreme newbie
    ... was that it is a little more secure than ... distributing the source code isn't it? ... Java virtual machine is more popular. ... once again thanks for your advice. ...
    (comp.lang.python)