On Wed, 24 Sep 2003, Byron Clark wrote:
> > javac */*.java */*/*.java */*/*/*.java
> > jar cvf myjarfile.jar */*.class */*/*.class */*/*/*.class
>
> You may want to try using make for this.

Let's pretend I know exactly zero about make and java. Also pretend the
last (and only) time I used make was two years ago and with C++.

> > $ 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.

Exception in thread "main" java.lang.NoClassDefFoundError: MainClass

  ~ Ross


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to