Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Koneki » Unable to Launch
Unable to Launch [message #1417174] Fri, 25 July 2014 19:22 Go to next message
James Hackney is currently offline James HackneyFriend
Messages: 3
Registered: July 2014
Junior Member
I am working with 64-bit Luna Eclipse on a 64-bit Windows 7 machine. I received the following error message when attempting to launch my first "Hello World!" Java project: "The selection cannot be launched, and there are no recent launches"

To create the program a clicked on File>new>java project. I named it Hello World.

I then created a package called Hello.

I then created a class called HelloWorld

From there I put in the code and saved.

I then clicked on the green run button. That is when I get the above error.

After Googling the problem I could find nothing but solutions with older versions of Eclipse but attempted to follow them anyway with no luck. I did the following:

Right-clicked on HelloWorld.java in the package explorer, went to Run As>Run Configurations. This brought up the Run Configurations window. I clicked on Java Application and hit the New Button. In the stuff I found on Google, this should have fixed it but with Luna it opens up a New Configuration box with a bunch or tabs (Main, Arguments, JRE, Classpath, Source, Environment, Common). I have no idea what IO am supposed to do here and can go no further until I put something in the Main Class text box. Since my Main Class is called HelloWorld, that's what I put but I get an error saying Could not find or load main class HelloWorld.

I am at a loss. Please advise.
Re: Unable to Launch [message #1417175 is a reply to message #1417174] Mon, 28 July 2014 12:37 Go to previous message
Marc Aubry is currently offline Marc AubryFriend
Messages: 76
Registered: July 2009
Member
Hi James,

You are here on the Koneki project forum, we maintain the Lua IDE.
For your Java question please refer to the newcomers forum :
https://www.eclipse.org/forums/index.php/f/89/
Or the JDT (Java Developer Tools) forum:
https://www.eclipse.org/forums/index.php/f/13/

Thanks,
Marc
Previous Topic:Build failure
Next Topic:Debugger with launch script
Goto Forum:
  


Current Time: Fri Nov 16 07:15:59 GMT 2018

Powered by FUDForum. Page generated in 0.02602 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top