| Author |
Trying to get JINI 2.0.002 Hello example running
|
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12327
|
|
I decided to get back up to speed with the latest version of JINI so I could use JavaSpaces. Downloaded and installed jini-2_0_002-src.zip (Jini Technology Starter Kit). My j2sdk is version 1.4.2 - on WinXP prof. I followed the directions in the Hello example file, including the: Installing the dynamic policy granting feature by putting jsk-policy.jar in the JAVA_HOME/jre/lib/ext directory, populating the example/hello/lib directory and verifying the contents of the lib directory. Executing the batch files in order for the "non-activatable example" a. start scripts\jrmp-reggie b. start scripts\confirming-jeri-server c. scripts\client a and b appear to work fine, b confirms that Hello server is ready. c. produces exceptions like this: I would love to hear from anybody who has gotten JINI 2.0.002 working. Bill
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12327
|
|
AHA! - got the Hello example running. It turns out that I had to put the jsk-policy.jar file in the c:\Program Files\Java\j2re1.4.2_03\lib\ext directory - NOT the j2skd directory that my PATH and JAVA_HOME point to. It must be using the windows registry to find that JRE! How frustrating - naturally the docs didn't mention this tiny problem. I suppose it makes some sort of sense in that not all installations would have the SDK. Bill
|
 |
 |
|
|
subject: Trying to get JINI 2.0.002 Hello example running
|
|
|