Jump to content

  • Log In with Google      Sign In   
  • Create Account


shaadjd

Member Since 19 Sep 2011
Offline Last Active Dec 02 2013 06:06 PM
-----

Topics I've Started

New to Java first project.

13 November 2013 - 12:21 PM

Hello,

 

I just started learning programming and I'm using java and I'm running into a issue getting the code to work. Here's the code I'm using:

 

/ /create a class named Magamar

public class Magamar

{

/ /this is the main method

public static void main (String[] args)

{

/ /this prints whatever is below.

System.out.println("Hello World")

 }

}

 

Now I can get this code to build but not run, when I run it I run into this error:

 

Error: Could not find or load main class magamar.Magamar
Java Result: 1

 

I don't know what is wrong, can some one point out to me my error?


PARTNERS