Using Run [message #773788] |
Mon, 02 January 2012 09:40  |
Eclipse User |
|
|
|
Hello, Eclipse Community.
I am here, hoping to get some help on a matter.
To start off, I'm sort of a noob looking to learn Java and for that, I'm using Eclipse.
I've encountered something that is *really* bugging me. The problem is that every time I try to run a .class file, I click run, but then, Eclipse tries to run something that isn't selected, or that doesn't even exist!
I've posted a picture, showing what I mean. In the picture I got my helloWorld.java file selected. I clicked to run it. But for some reason, Eclipse wants to run the whole project. And I really don't know how to change that. I really need some help here.

P.S.: I know that I already posted this on Newcomers forums, but I wasn't getting any answers, so, I decided to post here. I tried to just "forward" the post over here, but the forums doesn't let me use links yet. Sorry.
|
|
|
|
|
|
|
Re: Using Run [message #774013 is a reply to message #773946] |
Mon, 02 January 2012 23:56  |
Eclipse User |
|
|
|
Hi,
You can just run the it as a java application by choosing "run" from the menu bar or like you have done right in the java
application, you have two options "Java Applet" and "Java Application", you choose "Java application" to run the program.
Thanks & Regards,
Malika
igimarketcare.com
|
|
|
Powered by
FUDForum. Page generated in 0.03532 seconds