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
239 views
in Technique[技术] by (71.8m points)

java - Why isn't Eclipse updating the classes?

Since yesterday, Eclipse is not updating the .class files of my project. For example the filename.java is up to date, but the filename.class file has a modified date of yesterday. It used to work just fine. Why is this happening?

See Question&Answers more detail:os

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

1 Answer

0 votes
by (71.8m points)

Few things I would do or double check:

  1. Project > Clean on the project you're working on.
  2. Project > Build Automatically - turned on so the code rebuilds in your workspace on saved changes.
  3. Window > Preferences and make sure your Installed JRE's and Compilers are matching Java versions

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

...