Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
210 views
in Technique[技术] by (71.8m points)

java - Eclipse 2020-12 IDE Where are my build errors?

I have some legacy Java code that uses 32-bit Java 6 JRE. Coworkers have it building and running in Eclipse Luna, but I can't seem to download that IDE (not being a member) so I'm trying to get it to build/run in the latest Eclipse IDE (2020-12).

I have the Compiler compliance level set to 1.6, I have the 1.6 JRE installed and selected for the project's Run Configuration.

When I build, a progress bar appears, gets to 41%, then disappears. I assume the build has failed at 41%, but I can't find any output from the build so I can't really tell. Did it fail? Where and why?

Window > Show View > Console opens a Console window but even if I force a Clean & Rebuild, the top line of the Console window reads "No consoles to display at this time."

I guess my first question is, where can I find the build output?!

question from:https://stackoverflow.com/questions/66059705/eclipse-2020-12-ide-where-are-my-build-errors

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

My original problem is resolved, here's the summary.

The error that I needed to see and fix was being reported in the Error Log window.

Window > Show View > Other > General > Error Log opens that window.

Ultimately, the problem was the project uses rmic and it's been removed from Java 15. Downgrading from Java 15 to Java 14 in the IDE fixed my build errors.

Thank you, everyone.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...