Home  >  Article  >  I try to create a new project in eclipse in Ubuntu 20.04 but it gives me this error Errors generated during the build

I try to create a new project in eclipse in Ubuntu 20.04 but it gives me this error Errors generated during the build

PHPz
PHPzforward
2024-02-09 08:09:28436browse

php editor Apple encountered an error message "Errors generated during the build" when using Eclipse in Ubuntu 20.04 to create a new project. This error may cause the project to fail to build normally, causing trouble to developers. Below we will discuss the possible causes and solutions to this error to help you create a project smoothly.

Problem content

An error occurred during build. Error running builder 'Java Builder' on project 'egg'. For input string: "H" in base 16:

Workaround

Older Eclipse versions appear to have a bugparsing the java version information incorrectly. Java 16 is "G" and java 17 is "H", they try to parse it into hexadecimal characters (0-9 A-F) and therefore fail.

Try launching eclipse with java 8, or better yet, update Eclipse to the latest version (i.e. download Eclipse directly from its website).

The above is the detailed content of I try to create a new project in eclipse in Ubuntu 20.04 but it gives me this error Errors generated during the build. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:stackoverflow.com. If there is any infringement, please contact admin@php.cn delete