On Wed, Sep 24, 2003 at 04:20:56PM -0600, Ross Werner wrote: > If I'm trying to compile a whole bunch of java files, what's the best way > of doing it? I gave up trying to figure out an elegant way of doing it > (and the CS computers apparently don't have ant, which I think I might > have used sometime in the far distant past), and did this: > > javac */*.java */*/*.java */*/*/*.java > jar cvf myjarfile.jar */*.class */*/*.class */*/*/*.class
You may want to try using make for this. > $ java -jar myjarfile.jar > Failed to load Main-Class manifest attribute from > myjarfile.jar What about 'java -jar myjarfile.jar MainClass' or 'java -classpath myjarfile.jar MainClass' where MainClass is the name of the class with a main method. -- --------------------------------+----------------------------------- Byron Clark | http://www.byronandannie.net [EMAIL PROTECTED] | --------------------------------+----------------------------------- GnuPG Fingerprint: 0365 6979 6C3E BC0C 56C0 FB7F 12B3 75DD 042B EA68
pgp00000.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
