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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.

Similar threads

Back
Top