For Programmers: Free Programming Magazines  


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

Lew

2007-04-16, 8:08 am

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
Admoposterup

2007-04-21, 9:13 am

Martha Stewart in anal action!
http://Martha-Stewart-anal-action.o...hp?movie=148803
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com