Jump to content


Problem With Finding The Main Class


  • Please log in to reply
1 reply to this topic

#1 chuy

chuy

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 06 January 2012 - 04:19 AM

I have a problem with jcreator, when I try to run the code, because the following error is displayed:

Error: no se ha encontrado o cargado la clase principal dosierfinal1 (Spanish)
Error: it has not been found or load the main class

I have already installed it several times but it still display the same message can someone help me please??

#2 nueva

nueva

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 26 February 2012 - 02:53 AM

View Postchuy, on 06 January 2012 - 04:19 AM, said:

I have a problem with jcreator, when I try to run the code, because the following error is displayed:

Error: no se ha encontrado o cargado la clase principal dosierfinal1 (Spanish)
Error: it has not been found or load the main class

I have already installed it several times but it still display the same message can someone help me please??


I had the same problem and I don't know what caused it either. I have some ideas though:

Is your main method within a nested class?

Did you save your file in a folder not within the JCreator folders?

I think you should try saving your file in a separate folder of a new project, just a hunch.