Jump to content
  • Advertisement
Sign in to follow this  
shaadjd

New to Java first project.

This topic is 2114 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement

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

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

@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.

Share this post


Link to post
Share on other sites

@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... 

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!