question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't run Java Builder on latest release

See original GitHub issue

Description

On a new installation Eclipse, I am experiencing issues building any projects, so I attempted to start a HelloWorld program from scratch. I’m unable to get beyond the “Problem Occurred” dialog stating “‘Building workspace’ has encountered a problem. Errors occurred during the build.” Then the trace

Errors occurred during the build.
Errors running builder 'Java Builder' on project 'HelloWorld'.
java.lang.NullPointerException"
Eclipse IDE for Java Developers
Version: 2019-03 (4.11.0)
Build id: 20190314-1200
OS: Mac OS X, v.10.13.6, x86_64 / cocoa
Java version: 12

So far, this is not a unique issue, but none of the steps I tried from others has worked. What I have tried so far:

  1. https://stackoverflow.com/questions/19981634/errors-running-builder-java-builder https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/ https://blog.pdark.de/2011/09/02/restoring-a-corrupted-workspace-in-eclipse/
  2. Other bugs looks like they were resolved by using a different build of Eclipse. I just downloaded the latest stable.

Reproduction Steps

I just imported a working project or created a new project from scratch using the link above. Then, I get this I validated this java is being used- image

When I create a new run configuration for the program under Java Application, I get a different error:

Error occurred during initialization of boot layer
java.lang.module.FindException: Module moduleHelloWorld not found

image

I am a little bit lost because I would expect that I could at least get a HelloWorld running.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

3reactions
UtkarshBhardwaj007commented, Jun 4, 2019

same problem here buddy

3reactions
Gayathri145commented, May 29, 2019

Hi,I have got the same problem. can you just help me out

Read more comments on GitHub >

github_iconTop Results From Across the Web

Eclipse won't compile/run java file
Create a new project; Create a class in it; Add erroneous code, let error come; Now go to your project; Go to Problems...
Read more >
Troubleshooting tips for running Java
If you are still prompted to update Java after installing the latest version, try restarting your browser. Close all of the browser windows,...
Read more >
Unable to launch error in java eclipse-[Resolved] - YouTube
Many of you have got " Unable to launch " while executing java code.A quick solution:do watch the video completely and if you...
Read more >
Create your first Java application | IntelliJ IDEA ...
In this tutorial, you will learn how to create, run, and package a simple Java application that prints Hello, World! to the system...
Read more >
Run and Debug Java in Visual Studio Code
Here's a list of supported debugging features: Launch/Attach; Breakpoints; Exceptions; Pause & Continue; Step In/Out/Over; Variables; Call Stacks; Threads ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found