Home > Back-end >  DOS window, enter the correct javac
DOS window, enter the correct javac

Time:09-16

After installed, environment variables that configured, input Java version - everything is normal, but the runtime will be an error, finally found, input javac, will appear below error
Error occurred during initialization of the VM
Failed setting the boot class path.

Check a lot, haven't similar, hope to have a big answer, thank you,

CodePudding user response:

Have not solve, I also met the same problems qaq

CodePudding user response:

To check all the environment variables is configured properly

CodePudding user response:

Have a look at whether there is something wrong with the ClassPath environment variable
Or reshipment JDK

CodePudding user response:

Folder path not have Chinese

CodePudding user response:

Environment variables match have a problem, path don't take Chinese, may lead to errors

CodePudding user response:

Look at your system variables

CodePudding user response:

https://www.runoob.com/java/java-environment-setup.html
The building Lord, is you Java environment configuration has a problem, see above for a link to the configuration, there are detailed tutorial, follow the above was no problem,

CodePudding user response:

Uncle
refer to the original poster pony response:
after installed, environment variables that configured, enter Java version - everything is normal, but the runtime will be an error, finally found, input javac, will appear below error
Error occurred during initialization of the VM
Failed setting the boot class path.

Look up a lot, haven't similar, hope to have a big answer, thank you,


Are now using the programming tool, don't use the command line.

CodePudding user response:

Is the first time you put in? First outfit, win10 path configuration need to separate

CodePudding user response:

There are multiple JDK version, environment variable to specify the CLASS_PATH this variable,

CodePudding user response:

Should be the problem of environment variables to set environment variables under https://blog.grstudy.com/java/note/6
  • Related