Hello all,
I am trying to learn java and I have this error several times:
Error: Could not find or load main class chinese1.Chinese1
Java Result: 1
BUILD SUCCESSFUL (total time: 2 seconds)
As you can guess the project name is chinese1.
But the same problem happened in several other projects, it starts ok then I make a change in the code and I get this error.
Even If I delete or make comments on the new code it doesn't help!!
In the chinese1 project i even make a comment of all the code and still has this error!!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package chinese1;
//import java.io.FileInputStream;
//import javazoom.jl.player.Player;
/**
*
* @author Tiksuv
*/
public class Chinese1 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
// Chinese ChForm = new Chinese();
// ChForm.setVisible(true);
//
// try {
// FileInputStream file= new FileInputStream("C:\\ChineseWords\\tu3.mp3");
// Player playmp3= new Player(file);
// playmp3.play();
//
// } catch (Exception e){
//
// }
}
}
I don't get it.
I work with Netbeans 7.0.1
I want to understand what I am doing wrong in general because it happened at other projects and also specifically for this project that I am just starting and want to continue without starting it over.
Thanks in advance,
Daniel