|Re: Error: Could not find or load main class [message #1403797 is a reply to message #1403774]
||Sun, 27 July 2014 16:33
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 07/27/2014 10:10 AM, Blake Bottum wrote:|
> So I downloaded eclipse and made a simple code to test it out in. When I
> ran it, first it said, there is no recent launch history, then it said,
> Error: Could not find or load main class, in the console. Im using a
> Macbook air with mac osx, on a 64 bit computer. Can anyone help?
It may be that in your sample code, you do not have precisely this method:
public void main( String args )
Once you've got that method, right-click the file it's in and choose Run
As... or Debug As...
Powered by FUDForum
. Page generated in 0.03386 seconds