Re: Need help linking & packages



You should just do:
Thing t = new Thing();
/* or whatever. If you haven't imported another.* or another.Thing

you can say another.Thing t = new another.Thing(); */

// Class.forName("Stuff");

This is an example of trying to use the unnamed package to look for
Stuff. Getting that to work is unfortunately complicated, and you should
just avoid having classes without a specified package name.

Thank you for your response!

I am well aware of all of the things you say. but but but...

The recomended way to "connect" to say a jdbc driver is indeed

Class.forName("driver.package...");

and in no way was I recommending the use of the "unnamed package" just
that I CAN "connect" to jars that contain one.

However I still can not make any reference to a "package" work in this
fashion.

Thanks again for your time & effort!

dkr
.