Home  >  Article  >  Java  >  When eclipse starts, it prompts that it cannot create a java virtual machine.

When eclipse starts, it prompts that it cannot create a java virtual machine.

王林
王林Original
2019-11-11 10:45:186304browse

When eclipse starts, it prompts that it cannot create a java virtual machine.

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

When eclipse starts, it prompts that it cannot create a java virtual machine.

2. In the opened eclipse properties menu, find the shortcut tab, and then open the "Open file location" under the remarks

When eclipse starts, it prompts that it cannot create a java virtual machine.

3. After entering the eclipse file location, find eclipse.ini File

When eclipse starts, it prompts that it cannot create a java virtual machine.

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

When eclipse starts, it prompts that it cannot create a java virtual machine.

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

When eclipse starts, it prompts that it cannot create a java virtual machine.

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

When eclipse starts, it prompts that it cannot create a java virtual machine.

7. Restart the eclipse program and eclipse returns to normal. If you restore the eclipse.ini file manually, you can refer to the following default configuration

When eclipse starts, it prompts that it cannot create a java virtual machine.

Recommended tutorial: Java tutorial

The above is the detailed content of When eclipse starts, it prompts that it cannot create a java virtual machine.. 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