![]() |
Get Java Binaries NUGGET Jump Start |
|---|
|
This is how to get the Java code and how to setup your environment. If you use the suggested directory names, the examples will work right out of the box and you will have access to several helpful tools. 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 and continue to change). So I
decided to go with my own convention.
|
|
My directory tree for Java development is:
java/
|
+--java.102/
| |
| +--docs/
|
+--java.117/
| |
| +--docs/
|
+--java.120/
| |
| +--docs/
|
+--javanuggets/
|
Create a base directory and expand Nuggets for Java into it:
Download the current version of Java 2:
Copy Tools into Path:
Setup PATH:
@echo off
set path=c:\java\java.122\bin;%path%
prompt 1.22 $p$g
|
|
Remove the Kaffe Java that comes with the distribution (Kaffe is not as mature as blackdown).
Create a base directory and expand Nuggets for Java into it:
Download the current version of blackdown's Java 2:
Copy Tools into Path:
Setup PATH and DISPLAY:
#!/bin/sh
#
# Script in home directory called 12
#
# It sets a 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 ensure that the examples
would continue to work on either NT or Linux.
|
|
by Noel Enete . . . www.enete.com . . . noel@enete.com |