Advertisement

New to Java first project.

Started by November 13, 2013 06:21 PM
13 comments, last by KrinosX 11 years, 2 months ago

Wait I found something when I right click on the file magamar.java and select run it runs successfully, I was using the Run option on the main menu bar and when I triend using that run option it still had an error is there a difference between those two type of run commands?

Well.. if you are using NetBeans , the only reasonable way to it happens is: You was trying to run the project before you 'build/compile' it ( maybe the autobuild option is not enable or something like that ).

I am not a NetBeans expert ( I use Eclipse IDE ) so I dont know all the options for netbeans.. smile.png

KrinosX

Advertisement

I am not a Java programmer, I used Perl. I have however, noticed you have not put a semicolon after your print statement.

Also reading through the above posts it sounds like your file and class name must be the same. Magama and magama are not the same.

@shaaadjd

Well, for what I understood you are a begginner at programming world, because that kind of question sounds like it.

You surely missed something about what you read and tried to really do.

I found a good site that teaches Java with Eclipse IDE: http://www.javaprogressivo.net/p/curso-completo-de-java-para-iniciantes.html

You should check this out, you will find it very useful while learning.

@zircnambi

You suggest the guy to read a Java Course in Portuguese?

he is from Philadelphia.. don't think he will be comfortable to read a course written in Portuguese...

KrinosX

This topic is closed to new replies.

Advertisement