Home  >  Article  >  Java  >  When starting eclipse, it prompts that the java virtual machine cannot be created.

When starting eclipse, it prompts that the java virtual machine cannot be created.

王林
王林Original
2019-11-19 17:36:364184browse

When starting eclipse, it prompts that the java virtual machine cannot be created.

Right-click on the eclipse shortcut icon on the desktop, and then select "Properties"

In the opened eclipse properties menu, find the shortcut tab, Then open the "Open file location" under the remarks

When starting eclipse, it prompts that the java virtual machine cannot be created.

##After entering the eclipse file location, find the eclipse.ini file

When starting eclipse, it prompts that the java virtual machine cannot be created.

Find the previously downloaded eclipse file compression package. If you cannot find the previously downloaded file compression package, you can download it again, or you can manually modify the eclipse.ini file. To avoid human modification errors, it is not recommended to manually modify the eclipse.ini file

When starting eclipse, it prompts that the java virtual machine cannot be created.

Decompress the eclipse file compressed package, then find the eclipse.ini file and copy it

When starting eclipse, it prompts that the java virtual machine cannot be created.

Copy the original eclipse.ini file. ini file to eclipse2.ini, and then paste the new eclipse.ini into the same folder

When starting eclipse, it prompts that the java virtual machine cannot be created.

Restart the eclipse program, eclipse returns to normal, complete!

Recommended tutorial:

Getting started with java development

The above is the detailed content of When starting eclipse, it prompts that the java virtual machine cannot be created.. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn