Home > Archive > Java Help > April 2007 > Netbeans and importing Package
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Netbeans and importing Package
|
|
| aditi.hatwalne@gmail.com 2007-04-16, 8:08 am |
| Hi,
I am newbie to java and using Netbeans as IDE..I have created a
project A having 2 packages A1 and A2 having java files. In my other
project B which has package B1, I want to use classes from packages A1
and A2.I set classpath as path for projects A and B..its not
working..I am missing some thing..Please suggest way out for this..
Thanks,
aditi
| |
|
| aditi.hatwalne@gmail.com wrote:
> Hi,
> I am newbie to java and using Netbeans as IDE..I have created a
> project A having 2 packages A1 and A2 having java files. In my other
> project B which has package B1, I want to use classes from packages A1
> and A2.I set classpath as path for projects A and B..its not
> working..I am missing some thing..Please suggest way out for this..
How exactly are you setting the classpath?
Netbeans lets you add other projects to a project's classpath with the
project's Properties dialog, "Libraries" item.
--
Lew
| |
|
|
|
|
|