![]() |
Get Jini Binaries
|
|---|
|
This is how to get the Jini code and how to setup your environment. If you use the suggested directory names, the examples work right out of the box. Note: Since Java was first introduced, I have attempted to
use the default names of the directories for the various Java products
(JDK, JDBC, Jini, etc) hoping that a naming convention would take hold
and help me organize my Java development directories. I guess the
teams inside Sun are moving at such a rapid pace that there is no time
to iron out this relatively minor issue (half a decade has elapsed and
the conventions are still inconsistent). So I decided to go with my
own convention.
|
|
My directory tree for Java development is:
java/
|
+--java.120/ (or java.122 for /NT)
| |
| +--docs/
|
+--jini.100/
|
+--jinitck.100/
|
+--nuggets/
|
Create a base directory to receive all the Jini code:
This version on Nuggets uses Java 2 (aka JDK 1.20 FCS):
To get Jini:
Setup PATH:
|
|
Remove the Kaffe Java that comes with the distribution (Kaffe is not as mature as blackdown).
Create a base directory to receive all the Jini code:
This version of the Nuggets runs fine on blackdown's Java 2 distribution:
To get Jini:
Setup PATH and DISPLAY:
#!/bin/sh
#
# Script in home directory called 12 -- Sets path to JDK 1.2
#
# Use a dot (.) to set the path in your current shell:
# . 12
#
PATH=~/java/java.120/bin:.:$PATH
PS1="1.20 [\u@\h \W]\\$ "
|
|
The examples in these nuggets were first developed using Windows/NT. Then I switched the OS of my primary development station from NT to Linux. Now, I do all my work under Linux (I just wanted to see if it was possible to do my work Gates-free). I have attempted to maintain a parallel set of scripts and .bat files so the examples should continue to work on either NT or Linux. Since I do not personally spend too much time on /95 or /98 (though
some of my team members do and give me feedback from time to time) the nugget
examples may have to be tweeked a bit to run properly on those OS's. In
particular, /98 may need to be adjusted to accommodate the large space
needed to store environment variables (at least until I can think of a better
way to do it).
|
|
by Noel Enete . . . www.enete.com . . . noel@enete.com |