Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Can not include missing classes (packages) into java project
Can not include missing classes (packages) into java project [message #37900] Tue, 16 July 2002 10:57 Go to next message
Eclipse UserFriend
Originally posted by: ptran.timeicr.com

Hi,

I am facing with missing packages issue (i.e. The import Genesys....
cannot be resolved) when I tried to do "rebuild all" using eclipse for my
java project. I have tried to import these missing classes, generated from
the missing java files, in these packages (because I do not have java
codes for these packages) but eclipse does not include these classes into
my java project; Therefore it's not able to build for this error message.
I have no problem when I compile these java code in DOS window.
Please let me know what I should do to fix this.

Thanks in advance for any helps,

Phi-Di Tran
Re: Can not include missing classes (packages) into java project [message #37992 is a reply to message #37900] Tue, 16 July 2002 15:11 Go to previous messageGo to next message
Eclipse UserFriend
"PhiDi TranThi" <ptran@timeicr.com> wrote in message
news:ah1c9d$45c$1@rogue.oti.com...
| Hi,
|
| I am facing with missing packages issue (i.e. The import Genesys....
| cannot be resolved) when I tried to do "rebuild all" using eclipse for my
| java project. I have tried to import these missing classes, generated from
| the missing java files, in these packages (because I do not have java
| codes for these packages) but eclipse does not include these classes into
| my java project; Therefore it's not able to build for this error message.
| I have no problem when I compile these java code in DOS window.
| Please let me know what I should do to fix this.
|
| Thanks in advance for any helps,
|
| Phi-Di Tran
|

Hi,

You might get a better response from the eclipse.tools newsgroup.
They handle questions about the eclipse framework and the JDT.

Assuming that these are classes that you have in your possesion and they are
not part of the default install.
If they are part of a jar file.

You can import external jar from the project properties by
1.) Select the project from the Package Explorer or Navigator Views
2.)Right click on the project and select Properties
3.) Select "Java Build Path"
4.) Click on "Libraries"
5.) Press the Add External Jars button and follow the directions


I hope this helps.

-Judy


--
Re: Can not include missing classes (packages) into java project [message #38023 is a reply to message #37992] Tue, 16 July 2002 15:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ptran.timeicr.com

Thanks Judy for your help. I did that but it still does not take (at least
these classes are not included in my project after I imported) these
missing classes for the missing package error. Therefore, I still get the
same compilling errors message...However, I will try to post my question
in eclipse.tools newsgroup as your suggestion.

Thanks,
PhiDi TranThi.

------------------
Judy N. Green wrote:
> Hi,

> You might get a better response from the eclipse.tools newsgroup.
> They handle questions about the eclipse framework and the JDT.

> Assuming that these are classes that you have in your possesion and they are
> not part of the default install.
> If they are part of a jar file.

> You can import external jar from the project properties by
> 1.) Select the project from the Package Explorer or Navigator Views
> 2.)Right click on the project and select Properties
> 3.) Select "Java Build Path"
> 4.) Click on "Libraries"
> 5.) Press the Add External Jars button and follow the directions


> I hope this helps.

> -Judy


> --
> ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨ ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨
> Judy N. Green Software Engineer

> QNX Software Systems Ltd. 75 Terence Matthews Cres.
> www.qnx.com Kanata, Ont. K2M 1W8

> ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨ ¨¨¨°ºo§oº°¨¨¨¨°ºo§oº°¨¨¨

> |
Re: Can not include missing classes (packages) into java project [message #38069 is a reply to message #37900] Tue, 16 July 2002 17:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Put all your .class files in one .jar file. Then you will be able to
import the jar file into Eclipse.

HTH,

Rodolfo

On Tue, 16 Jul 2002 11:57:49 -0300, PhiDi TranThi wrote:

> Hi,
>
> I am facing with missing packages issue (i.e. The import Genesys....
> cannot be resolved) when I tried to do "rebuild all" using eclipse for my
> java project. I have tried to import these missing classes, generated from
> the missing java files, in these packages (because I do not have java
> codes for these packages) but eclipse does not include these classes into
> my java project; Therefore it's not able to build for this error message.
> I have no problem when I compile these java code in DOS window.
> Please let me know what I should do to fix this.
>
> Thanks in advance for any helps,
>
> Phi-Di Tran
Re: Can not include missing classes (packages) into java project [message #38198 is a reply to message #38069] Wed, 17 July 2002 08:26 Go to previous message
Eclipse UserFriend
Originally posted by: ptran.timeicr.com

Thanks Rodolfo for your help. It works now.

PhiDi TranThi.
-------------
Rodolfo M. Raya wrote:

> Hi,

> Put all your .class files in one .jar file. Then you will be able to
> import the jar file into Eclipse.

> HTH,

> Rodolfo

> On Tue, 16 Jul 2002 11:57:49 -0300, PhiDi TranThi wrote:

> > Hi,
> >
> > I am facing with missing packages issue (i.e. The import Genesys....
> > cannot be resolved) when I tried to do "rebuild all" using eclipse for my
> > java project. I have tried to import these missing classes, generated from
> > the missing java files, in these packages (because I do not have java
> > codes for these packages) but eclipse does not include these classes into
> > my java project; Therefore it's not able to build for this error message.
> > I have no problem when I compile these java code in DOS window.
> > Please let me know what I should do to fix this.
> >
> > Thanks in advance for any helps,
> >
> > Phi-Di Tran
Previous Topic:CPL FAQ available at IBM web site
Next Topic:Getting started with CDT
Goto Forum:
  


Current Time: Thu Jul 17 11:17:28 EDT 2025

Powered by FUDForum. Page generated in 0.04844 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top