www.delorie.com/gnu/docs/gcc/gcj_fot.html   search  
Buy the book!

Guide to GNU gcj

[Top] [Contents] [Index] [ ? ]



The linker by default looks for a global function named main. Since Java does not have global functions, and a collection of Java classes may have more than one class with a main method, you need to let the linker know which of those main methods it should invoke when starting the application.

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003