The Artima Developer Community
Sponsored Link

Java Answers Forum
Java

2 replies on 1 page. Most recent reply: Dec 30, 2005 4:00 AM by nabakumar

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Chiranjib Banerjee

Posts: 1
Nickname: chiranjib
Registered: Dec, 2005

Java Posted: Dec 28, 2005 11:20 PM
Reply to this message Reply
Advertisement
I made 2 separate projects in Java in MyEclipse....In project1 , I made an abstract class containing an abstract method . I am extending the abstract class in the class of project2 by importing the package of project1...But it is unabe to find the class of package1..My intention is to make separate jars of paroject1 & project2 and communicate between the two...


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: Java Posted: Dec 28, 2005 11:54 PM
Reply to this message Reply
In your "Preferences" under the "Windows" Menu Option.
select Java and Build Path, set the ClassPath and Libraries
to the appropriate Jars. Hope that helps.

nabakumar

Posts: 23
Nickname: nkmeitei
Registered: Jun, 2005

Re: Java Posted: Dec 30, 2005 4:00 AM
Reply to this message Reply
try out any of these two
1. go to project properties of project2
java build path > projects > check project2 > ok>

2. another way is
export project1 as jar file then ...
go to project properties of project2
java build path > libraries > add external jars > ok >


hope this works out...
cheers ....

Flat View: This topic has 2 replies on 1 page
Topic: connection java application to MySQL Database Previous Topic   Next Topic Topic: java arraylists

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use