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:[EMAIL PROTECTED]] > Sent: Sunday, 7 July 2002 10:20 a.m. > To: [EMAIL PROTECTED] > 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 - [EMAIL PROTECTED] > 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. ======================================================================= _______________________________________________ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l
