This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 4181
    
  21

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


Steve
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

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..
 
wood burning stoves
 
subject: none applicable in Eclipse IDE