cannot resolve com.sun.java import - build path problem?
I'm new to java programming, and I've heard that what I'm trying to do is supposed to be easy, but I'm stuck.
I'm trying to move a bunch of code from a windows machine to a linux machine. Prior to moving it, everything worked and there were no errors. I'm moving the source code for a big, proprietary, undocumented mess called IVES that relies on jfreechart and a number of other libraries. I was told that all I need to do is change the build path, but I must have done something wrong, because I'm getting 2 errors I can't shake.
Both errors say "the import com.sun.java cannot be resolved" and occur in the import statement section of two different classes.
is the code where the error occurs in one of the files.
I zipped my entire workspace from the windows machine, switched machines and unzipped it, then the import button to get things into eclipse.
I changed the build path through build path -> configure build path .
Under the source tab, the only source folder is ives_test3/src. All the .java files are in subdirectories there, and the output goes to ives_test3/bin. Under the projects tab, it depends on jfreechart, which seems to be working ok, and under libraries, I've given it access to all the .jar files i had from the windows side.
Any ideas on how to fix this? Am I missing some option on the build path?