Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Error Message
Error Message [message #721130] Wed, 31 August 2011 23:48 Go to next message
hansho13 is currently offline hansho13Friend
Messages: 4
Registered: August 2011
Junior Member
Hey guys.

Whenever I try to run a program in eclipse, it gives me an error message in the console. It looks like this:

Error: Could not find or load main class var

I would really appreciate if someone could help me. Thanks!
Re: Error Message [message #721776 is a reply to message #721130] Fri, 02 September 2011 20:33 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Can you give more details about what you are doing? It sounds as though you are able to launch Eclipse but are unable to run a Java program, is that correct?
Re: Error Message [message #721837 is a reply to message #721776] Sat, 03 September 2011 04:36 Go to previous messageGo to next message
hansho13 is currently offline hansho13Friend
Messages: 4
Registered: August 2011
Junior Member
yes that's correct
Re: Error Message [message #723176 is a reply to message #721837] Wed, 07 September 2011 22:49 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
There is a cheat sheet on how to run a Java program from Eclipse. From the Menu Bar select Help/Cheat Sheets. I the dialog that opens expand the Java Development category, select Create a Hello World Application and follow the steps. If this does not work let me know which step failed.
Re: Error Message [message #731550 is a reply to message #723176] Sat, 01 October 2011 17:34 Go to previous message
hansho13 is currently offline hansho13Friend
Messages: 4
Registered: August 2011
Junior Member
Chris Goldthorpe wrote on Wed, 07 September 2011 18:49
There is a cheat sheet on how to run a Java program from Eclipse. From the Menu Bar select Help/Cheat Sheets. I the dialog that opens expand the Java Development category, select Create a Hello World Application and follow the steps. If this does not work let me know which step failed.

Okay it worked! Thanks for your help Smile
Previous Topic:Context sensitive help flashes no topic found, then finds topic
Next Topic:Implementing org.eclipse.ui.cheatsheets.cheatSheetItemExtension
Goto Forum:
  


Current Time: Thu Apr 25 05:58:05 GMT 2024

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

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

Back to the top