idf-eclipse-plugin icon indicating copy to clipboard operation
idf-eclipse-plugin copied to clipboard

eclipse shows errors afer installation (IEP-1528)

Open sreevalli802 opened this issue 7 months ago • 3 comments

Hi, I have installed Eclipse Version: 2025-03 (4.35.0) as soon as it is installed, I found 16 errors without writing a single line of code. I have installed JDK 24. Can anyone help me?

sreevalli802 avatar May 11 '25 11:05 sreevalli802

Hi, I have installed Eclipse Version: 2025-03 (4.35.0) as soon as it is installed, I found 16 errors without writing a single line of code. I have installed JDK 24. Can anyone help me?

sreevalli802 avatar May 11 '25 11:05 sreevalli802

Hi @sreevalli802! This is an automated response. If you don’t find the answer helpful, please check the ESP32 IDE forum (https://www.esp32.com/viewforum.php?f=40) or GitHub issues (https://github.com/espressif/idf-eclipse-plugin/issues) to see if the issue has already been discussed.


Based on the information provided in the knowledge sources, I can help with your Eclipse installation issues related to Espressif-IDE.

The errors you're experiencing might be related to Java version compatibility. According to the documentation, Espressif-IDE has specific Java version requirements:

  1. For the latest Espressif-IDE (version 3.0+), Java 21 and above is recommended as a prerequisite Prerequisites.

  2. For older versions of the IDF Eclipse Plugin, Java 11 was recommended, as Eclipse 2020-06 and CDT had requirements for Java 11 FAQ.

Since you've installed JDK 24 with Eclipse 2025-03, this might be causing compatibility issues. Here are some troubleshooting steps:

  1. Check if Java is properly configured in Eclipse:

    • Go to Help > About Eclipse > Installation Details > Configuration
    • Look for the -vm argument to verify which Java version Eclipse is using
  2. You might need to increase heap memory for Java:

    • Locate the eclipse.ini or espressif-ide.ini file
    • Increase the Xmx value under the -vmargs section (e.g., set to -Xmx2048m)
  3. Check the Error Log for specific error details:

    • Go to Window > Show View > Error Log
    • This will help identify the exact nature of the errors
  4. If you're using an older version of Espressif-IDE with the latest Eclipse, there might be compatibility issues. Consider using the version combinations recommended in the documentation.

If these steps don't resolve your issue, you can contact Espressif support directly at [email protected] or raise an issue on the GitHub repository.

github-actions[bot] avatar May 11 '25 11:05 github-actions[bot]

Hi @sreevalli802,

Are you using the latest 3.4.0 release? v3.4.0 release

If not, please install version 3.4.0, as older versions are not compatible with CDT 12. To install 3.4.0, use this update site:

Installing IDF Plugins using the local archive file: com.espressif.idf.update-3.4.0.zip

Alternatively, if you'd like to avoid dealing with dependencies, you can download Espressif IDE, which includes all dependencies and uses the latest supported Eclipse IDE:

Espressif IDE for macOS (aarch64)

Espressif IDE for macOS (x86_64)

Espressif IDE for Windows

Espressif IDE for Linux (gtk-x86_64)

Espressif IDE for Linux (gtk-aarch64)

Could you also please share the logs to help us investigate further?

Thank you.

sigmaaa avatar May 11 '25 19:05 sigmaaa

Hello,

If you’re using our latest IDE version v3.4.0, the initial CMake build will automatically run as soon as a project is created, and header resolution for LSP editors should work as expected.

Please verify and re-open the issue if you’re still experiencing the same problem with v3.4.0.

Closing this issue due to inactivity. If you encounter any other issues with the IDE, feel free to open a new one.

Thanks!

kolipakakondal avatar Jun 10 '25 05:06 kolipakakondal