This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes none applicable in Eclipse IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "none applicable in Eclipse IDE" Watch "none applicable in Eclipse IDE" New topic
Author

none applicable in Eclipse IDE

Shyam Hai
Ranch Hand

Joined: Feb 04, 2009
Posts: 68
none applicable in Eclipse IDE

Today i met one problem.

I creat new class
and i going to run that application.

That time The IDE display just "none applicable ".

How can i rectify.Please...
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3946
    
  17

Provide a public static void main(String[] args) method.


Steve
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13869
    
  10

You have to make sure that the editor containing your class (with main method) has the focus, otherwise Eclipse doesn't understand what you're trying to run.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Shyam Hai
Ranch Hand

Joined: Feb 04, 2009
Posts: 68
Hai Steve Luke,

public static void main(String[] args) method.

Now its ok.
Because before i didnot give (String[] s).

Thanks..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: none applicable in Eclipse IDE
 
Similar Threads
Covariance problem with multiple interface inheritance
can anybody in the world give me login example for jsf please
about eclipse framework
"Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class" error.Please help
Problem in saving jsp file