[Biojava-l] linux

Schreiber, Mark mark.schreiber@agresearch.co.nz
Mon, 8 Jul 2002 09:48:23 +1200


Hi -

Not sure about the particular subtleties of Linux but to make a jar file
executable in windows you need to add an entry like

Main-Class: mypackage.MyClass

to the manifest.mf of the JAR file.

However, I'm not sure how one would pass command line arguments to a jar
in this way

- Mark



> -----Original Message-----
> From: Matthew Pocock [mailto:matthew_pocock@yahoo.co.uk] 
> Sent: Sunday, 7 July 2002 10:20 a.m.
> To: biojava-l@biojava.org
> Subject: [Biojava-l] linux
> 
> 
> Hi.
> 
> I've just installed my first ever linux box, and am trying to 
> make java 
> feel like part of the OS. Does anyone know of a trick that 
> will let me 
> make a .jar file executable and have it launched from the 
> command line 
> without fiddling around with all that java -jar stuff? I use 
> quite a few 
> java apps and want to just put symlinks in $HOME/bin.
> 
> Matthew
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@biojava.org 
> http://biojava.org/mailman/listinfo/biojava-l
> 
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================