Topic: Question about Eclipse classpath?

  Print this page

1.Question about Eclipse classpath? Copy to clipboard
Posted by: ppp5
Posted on: 2003-12-16 09:50

Hi!

I have a question about adding a directory(NOT JAR File), which include my packages, to the classpath in Eclipse v2.1.2

I create some packages under: D:\Project\myproject\mpackage directory.

I also create some Java files under D:\Project\myproject directory

I import package into my Java files.
import mypackage.*;

I also create a classpath variable called: mypkg, the value is
D:\Project\myproject

I add this classpath variable: mypkg to the classpath in my project.
Why doesn't it know the classpath?
I got compile error. Cannot resolve symbol myframe.

But it works under JCreator.

Thanks.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923