import packages with files from file system into a project on same computer

Hi, I am having an unusual situation trying to import some packages.

I click the create new java project button, select create project from existing source, select the folder name tij4a that contains the packages with their classes, and then when i specify any name for the project a diplay says "Cannot create project content in workspace" (this refers to D:\workspace) and "The specified external location already exists. If a project is created in this location, the wizard will automatically try to detect existing sources and class files and configure the classpath appropriately." The finish button is disabled.

If I change the workspace to D:\workspace\TIJ4 and do the same stuff I am allowed to define a name for the project but the import results in a white empty folders with names that show the package names. The class files are not there.

How can I import my packages with their classes from the file system? I've done it before many times but now it doesn't work like I expect.

[1018 byte] By [brettosm8a] at [2007-11-27 3:35:35]
# 1
I just add the jar files to my class path.Oh, you're using an IDE of some sort...
DrLaszloJamfa at 2007-7-12 8:38:46 > top of Java-index,Java Essentials,New To Java...
# 2

I presume you uses eclipse.

You can't create a project from an existing one in the current workspace.

The existing project should be in another workspace.

To overcome this problem, create a new project (from scratch) and copy the jars from the old project to the new one.

Hope That Helps

java_2006a at 2007-7-12 8:38:46 > top of Java-index,Java Essentials,New To Java...
# 3
how do I copy and paste the jars? I couldn't see any .jar files.
brettosm8a at 2007-7-12 8:38:46 > top of Java-index,Java Essentials,New To Java...