Scrapbook giving "source not found" error [message #638131] |
Wed, 10 November 2010 05:46 |
xkanuk Messages: 4 Registered: November 2010 |
Junior Member |
|
|
Just starting out with Eclipse and Java and trying to do Mark Dexter's tutorials.
I'm stuck on MacOS X Tiger, so have to use Eclipse 3.3.2 which I've got up and running and have installed a number (maybe too many?) of extras/updates.
Have created a Person class in a package in a new project.
Have imported the spec into a Scrapbook page.
Enter the following:
Person p = new Person();
p
Highlight and hit Evaluate, gives me a new pane, entitle CodeSnippet_4.run()
with a nice red message "Source not found".
Just not sure what I might be missing here?
Any help would be appreciated so I can get back to the tutorial.
[Updated on: Wed, 10 November 2010 05:59] Report message to a moderator
|
|
|
|
|
|
|
Re: Scrapbook giving "source not found" error [message #1680324 is a reply to message #638131] |
Tue, 17 March 2015 00:05 |
Gordon Lippa Messages: 1 Registered: March 2015 Location: Seattle, WA |
Junior Member |
|
|
I've also encountered the "Source not found" error while inspecting statements in the Eclipse Scrapbook.
My resolution was to update the path in my Environment Variable list after upgrading to a newer version of Eclipse.
On a Win8.x system:
1. Open Control Panel\System and Security\System.
2. Select Advanced System Settings from the left.
3. From the Advanced tab, select Environment Variables at the bottom.
4. Select JAVA_HOME from system variables, and edit to your latest version folder.
5. Reboot to ensure new variables apply.
Microsoft stack pro
Java stack noob
|
|
|
Powered by
FUDForum. Page generated in 0.08278 seconds