Why does running minecraft show the error The main class cannot be found or cannot be loaded ? 100

Updated on technology 2024-08-04
12 answers
  1. Anonymous users2024-02-15

    cmd needs to load the class file before running.

  2. Anonymous users2024-02-14

    The reason for your failure is that the file name is inconsistent with the class name, your file name is untitled1, and the class name is not started.

    You can also call the class name untitled1.

    public class untitled1}

  3. Anonymous users2024-02-13

    This is the best way for me to do this, and I don't have to worry about the class path anymore.

    Remember that you must restart cmd after modification, and every time you make an external change, you must restart cmd before it will be displayed.

  4. Anonymous users2024-02-12

    In addition to the reasons mentioned above, I came across this - the letters of the file name are case-sensitive!!

  5. Anonymous users2024-02-11

    Web Links.

    Hope it helps!

  6. Anonymous users2024-02-10

    1. The environment variables are not well configured, please configure them correctly, and add a semicolon (; That's it.

    2. The public statement on the class ** with the main method is not passable.

    3. The file name should be consistent with the class name. (This is the reason why you are wrong now, please change 1 to helloworld).

    If you have any questions, please feel free to ask, satisfied, thx!

  7. Anonymous users2024-02-09

    Directly above, this is the case with package.

  8. Anonymous users2024-02-08

    The name of the helloworld class is the same as the file name, and it's all uppercase (mine is that the file name is not capitalized.

  9. Anonymous users2024-02-07

    The class of your file does not have a class name, generally the class name should be the same as the file name, add the class name and try again, for example.

    class a}

  10. Anonymous users2024-02-06

    Would you not save the file, or not have the main method?

    Use Eclipse or Idea to see why.

  11. Anonymous users2024-02-05

    It should still be a problem with environment variables, see if your path and classpath are correct, the most likely error is that the classpath is missing the previous one.;

  12. Anonymous users2024-02-04

    Take a look at ** to know what you are missing and what is not missing main

Related questions
6 answers2024-08-04

After opening, the administrator window will pop up, and then we type "ipconfig flushdns" and press enter. >>>More

13 answers2024-08-04

They themselves have opposite charges, and human beings later artificially stipulated that the glass rod rubbed with silk is positively charged, and the plastic rod rubbed with fur is negatively charged, and the charge of the proton belt is the kind of charge carried by the glass rod after the glass rod rubbed by silk, and the charge of the electron belt is the kind of charge carried by the plastic rod rubbed with the fur, so it is stipulated that the electron is negatively charged, and the proton is positively charged.

7 answers2024-08-04

Because msconfig and regedit exist in the %systemroot% pchealth helpctr binaries directory instead of %systemroot% or %systemroot% system32, you can't omit their paths and just run the filename open. >>>More

11 answers2024-08-04

It's possible that your question was duplicated and deleted! >>>More

5 answers2024-08-04

Whether it is installed correctly. Otherwise, it won't work. >>>More