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

AI Thread Summary
A user encountered an issue while running a "Hello World" program in Java using the Eclipse editor, specifically after attaching the ACM JAR library. The error message indicated a reference to a non-existent Karel project, which the user had previously deleted. Despite the code being correct and aligned with the course material, the issue persisted. Another participant suggested that starting a new project and pasting the code into it might resolve the problem, as this approach had worked in a similar situation with C++. The discussion highlights common troubleshooting steps for resolving project reference errors in Eclipse.
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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Back
Top