View Single Post
Old 11-25-2005, 09:13 AM   #1
Djoubar
New Member
 
Join Date: Nov 2005
Model: 7100t
Posts: 1
Default "no entrey points found" warning

Please Login to Remove!

Hello Guys

I'm developping a blackberry application using JDE and I get these two wornings when I try to build the project:

"No entry points found" and "No definition found for exported static routine: .main(String[])".

I suppose that they're related.

It's funny how I get these warning since this part of the code is basically a cut&paste from an exemple.

here's the code:
Code:
/*
* MainProgram.java
*
* © <your company here>, 2003-2005
* Confidential and proprietary.
*/
 
package BlackBerry;
 
/**
*
*/
 
//Ceci est le point d'entree de l'application
 
Public class MainProgram extends UiApplication {
	public static void main(String[] args) {
		MainProgram theApp = new MainProgram();
		theApp.enterEventDispatcher();
	}
 
	public MainProgram() {
		pushScreen(new MainMenu());
	}
 
}
Thank you for any input.

[Edit by Mark Rejhon to turn source code into formatted code: It is helpful to use [code] tags next time]

Last edited by Mark Rejhon; 11-25-2005 at 03:44 PM..
Offline