Re: jini 2.1 examples

"John McClain - Sun Microsystems, Inc." <[email protected]> Tue, 10 Jun 2008 17:14:44 -0400
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Bulzan Stefan wrote:
> I'm running my client from an IDE, I've imported jini-core.jar, jini-ext.jar, 
> jini-lib.jar, mahalo.jar, outrigger.jar, reggie.jar in the project.

You are (mostly likely) running into the "lost codebase" problem. For 
more detail see this link :

	https://user-jwfmcclain.dev.java.net/codebase/codebase.htm

[make sure to read the notes]

One way to fix the problem is to remove  mahalo.jar, outrigger.jar, 
reggie.jar from the classpath of the client.

The other way to avoid this is by using 
net.jini.loader.pref.PreferredClassLoader, which should happen by 
default if you put jsk-platform.jar in your classpath. BTW, 
jini-core.jar and jini-ext.jar have been depreciated, you should be 
using jsk-platform.jar instead.

Hope this helps

-- 
John McClain					[email protected]
Sun Microsystems, Inc.
Burlington, MA

And it is that way today. We are tricked by hope into starting
companies, beginning books, immigrating to this country and investing
in telecom networks. The challenges turn out to be tougher than we
imagined. Our excessive optimism is exposed. New skills are demanded.
But nothing important was ever begun in a prudential frame of mind.

         - David Brooks

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html