Home > Back-end >  In the CMD to start the first day of the Java encounter problems
In the CMD to start the first day of the Java encounter problems

Time:05-12

Javac HelloEveryone. Java
HelloEveryone. Java: 1: error: package Java. Lang, there is no
Import the Java. Lang. *;
^
1 error

In the CMD can display the javac and Java a bunch of things, the environment variable should be yes, extension also checked, this is a question of where the
(don't laugh at me, just began to learn)

CodePudding user response:

Is a Java. Lang not Java. Lang

CodePudding user response:

The
refer to the original poster qq_58111258 response:
javac HelloEveryone. Java
HelloEveryone. Java: 1: error: package Java. Lang, there is no
Import the Java. Lang. *;
^
1 error

In the CMD can display the javac and Java a bunch of things, the environment variable should be yes, extension also checked, this is a question of where the
(don't laugh at me, just began to learn)



Java. Lang is basic package, don't need to import, you think you have another Java import it system. Lang package must find ah

CodePudding user response:

Import the Java. Lang. *;
Java first letters lowercase
  • Related