Skip to main content



      Home
Home » Newcomers » Newcomers » importing Class files for use (summary)
importing Class files for use (summary) [message #49568] Fri, 08 April 2005 18:31
Eclipse UserFriend
Originally posted by: ask.me.com

Ok I understand the plug-in requirements now. Thanks. =)

I can also understand that all the files an app uses must be in it's
directory (package) or imported at the beginning of the file from some
resolvable location.

What is unclear when using Eclipse, I can make a user library that loads
custom class files (in example a SDK from another vendor). I can even set
that as a system library to load on startup.

What I don't get is why when I use that userlibrary in a example.java I
get a com.name.blah.whatever cannot be resolved, even though I can see it
in the userlibrary and I have loaded/linked it to that Eclipse project and
listed on the operties\java build path\libraries tab.

If I have:

c:\dev\myproject\newclass

so Eclipse makes:

c:\dev\myproject\bin
c:\dev\myproject\src

and I copy the example from the SDK to

c:\dev\myproject\src\com\name\blah\whatever\example.java

Where do I have to place the SDK.jar and SDKjavadocs.jar to have
example.jar make use of them. I thought putting them anywhere, then
making a userlibrary to that location was enough but it fails.

I know it's a newbie question but I can't sort it out.
Previous Topic:Project and Packages
Next Topic:error message with listener
Goto Forum:
  


Current Time: Sun May 04 03:19:15 EDT 2025

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

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

Back to the top