From: Sahil Dave on 6 May 2010 06:44 Hi I have been away from java for quite a long time, and certainly away from Eclipse. I have two applications, one of which uses the other. The problem here is that i am trying to import classes from app2 into app1, but its not able to find them. How do i get around this? I know that it has to do something with the build path. I am using Eclipse. Thanks Sahil Dave
From: Lew on 6 May 2010 08:13 On 05/06/2010 06:44 AM, Sahil Dave wrote: > Hi > > I have been away from java for quite a long time, and certainly away > from Eclipse. > I have two applications, one of which uses the other. The problem here > is that i am trying to import classes from app2 into app1, but its not > able to find them. > > How do i get around this? I know that it has to do something with the > build path. I am using Eclipse. Read about packages and classpaths in the tutorial on java.sun.com. -- Lew
From: Tom Anderson on 6 May 2010 09:25 On Thu, 6 May 2010, Sahil Dave wrote: > I have been away from java for quite a long time, and certainly away > from Eclipse. I have two applications, one of which uses the other. The > problem here is that i am trying to import classes from app2 into app1, > but its not able to find them. > > How do i get around this? I know that it has to do something with the > build path. I am using Eclipse. Right click on app2 > Build Path > Configure Build Path > Order and Export. The source folders defining those classes need ticks in their tickyboxes - that means they're exported to other projects. If they do have ticks, ask again and i'll see what i can think of. tom -- File under 'directionless space novelty ultimately ruined by poor self-editing'
From: Tom Anderson on 6 May 2010 09:26 On Thu, 6 May 2010, Lew wrote: > On 05/06/2010 06:44 AM, Sahil Dave wrote: > >> I have been away from java for quite a long time, and certainly away >> from Eclipse. I have two applications, one of which uses the other. The >> problem here is that i am trying to import classes from app2 into app1, >> but its not able to find them. >> >> How do i get around this? I know that it has to do something with the >> build path. I am using Eclipse. > > Read about packages and classpaths in the tutorial on java.sun.com. Did you see the bit where he says "I am using Eclipse"? It's on the last line of the second paragraph. tom -- File under 'directionless space novelty ultimately ruined by poor self-editing'
From: Lew on 6 May 2010 09:32 On May 6, 9:26 am, Tom Anderson <t...(a)urchin.earth.li> wrote: > On Thu, 6 May 2010, Lew wrote: > > On 05/06/2010 06:44 AM, Sahil Dave wrote: > > >> I have been away from java for quite a long time, and certainly away > >> from Eclipse. I have two applications, one of which uses the other. The > >> problem here is that i am trying to import classes from app2 into app1, > >> but its not able to find them. > > >> How do i get around this? I know that it has to do something with the > >> build path. I am using Eclipse. > > > Read about packages and classpaths in the tutorial on java.sun.com. > > Did you see the bit where he says "I am using Eclipse"? It's on the last > line of the second paragraph. > Did you read the thread wherein people discuss that knowing the underlying concepts is essential to effective use of an IDE? I believe you even participated in that thread, as you may recall. -- Lew
|
Next
|
Last
Pages: 1 2 3 Prev: javax.swing.JTable.print() Next: ejbPostCreate() to define operations |