Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2007

Tip: Looking for answers? Try searching our database.

problem on Eclipse : using external jar.

Thread view: 
Mr. X. - 01 Jul 2007 15:53 GMT
Hello.
At Eclipse 3.2 I have done :

After adding external jar by :
project properties (right mouse click) -> java build path ->  libraries ->
add external jar,
and adding : jini-ext.jar, jsk-platform.jar, sun-util.jar.
and at : Order and Export mark all of them.
I did in code :
import net.jini.core.lookup.ServiceRegistration;

project compiles fine,
but I see that under the import net.jini.core.lookup.ServiceRegistration;
there is an error syntax - red light-wave,
(like MS-WORD has when there is a spell checker, and the word is not correct
in language).

Is the above a problem ?
Should I do something about that ?

Thanks :)
Mr. X. - 01 Jul 2007 20:24 GMT
It seems basic knowledge :
import ...
import ...
has the above problem, if I write import twice.
If I use only one line import - I don't have that kind of problem.
I should check this out.

Thanks :)
Mr. X. - 01 Jul 2007 20:36 GMT
... It was :
//import javax.swing.JOptionPane

When I unmark the above, I got the problem.

import net.jini.core.lookup.ServiceEvent;

(Maybe it is because they are on different path ?)

Thanks :)
Mr. X. - 01 Jul 2007 21:00 GMT
Third time to myself.
I have managed.
Just silly thing, I don't know much about Eclipse,
that when I don't use the package somehow - it is marked with an
underlined-waved.

Thanks, anyway  :)
Patricia Shanahan - 01 Jul 2007 21:14 GMT
> Third time to myself.
> I have managed.
> Just silly thing, I don't know much about Eclipse,
> that when I don't use the package somehow - it is marked with an
> underlined-waved.

Have you tried either clicking the marker in the left margin, or
consulting the "Problems" tab?

Patricia


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.