What could be causing my Eclipse program to reference a non-existent Karel file?

Click For Summary
SUMMARY

The discussion centers on a Java programming issue encountered in the Eclipse IDE, specifically regarding a "Hello World" program that references a non-existent Karel file after the project was deleted. The user has attached the ACM JAR library but is confused about the error message indicating a reference to the deleted Karel project. A suggested solution involves creating a new project and pasting the code into it, which has proven effective in similar situations.

PREREQUISITES
  • Familiarity with Java programming concepts
  • Understanding of the Eclipse IDE environment
  • Knowledge of managing projects and libraries in Eclipse
  • Basic troubleshooting skills for Java applications
NEXT STEPS
  • Research how to properly delete projects in Eclipse to avoid residual references
  • Learn about managing external libraries in Eclipse, specifically ACM JAR
  • Explore project creation and management best practices in Eclipse
  • Investigate common Java runtime errors and their resolutions
USEFUL FOR

Java beginners, Eclipse IDE users, educators teaching programming methodology, and anyone troubleshooting project references in Java applications.

Master J
Messages
219
Reaction score
0
"Hello World" Java issue!

I've been following Stanford's on line lecture series Programming Methodology and have run into an issue while trying my first Hello World program.

I'm using the Eclipse editor and have attached the acm JAR library. When I try to run the file, I get an error that says my program is referencing a non-existent Karel, where Karel was a previous project that I deleted.

My code is correct as I've followed exactly what has been taught, and what's in the textbook. Has anyone any idea what's wrong? I was sure I deleted the old project, so I've no idea how the program says I'm referencing it, which I am not in my source code!

Is this a common issue?

Help! Cheers guys!
 
Technology news on Phys.org


I was helping some people out with C++ and for some reason their program won't compile for some reason my prof or I could figure out. It definitely wasn't the code. So I had him start a completely new project and paste the code there. Try creating a new project and compile and debug again and see if it works.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
5K