Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated environmental notes about MacOS X; few other minor edits

...

These notes are the result of several weeks playing with different things and asking a LOT of questions on several mailing lists.

I hope these notes are of use to someone out there.

THE ENVIRONMENT

The following assumes you have Java already installed - it should be installed by default on every Mac OS X - but I thought I'd mention it any way.I hope these notes are of use to someone out thereMacOS X installation. Note that MacOS X 10.2 (Jaguar) comes with Java 1.3; MacOS X 10.3 (Panther) comes with Java 1.4. Presumably, MacOS X 10.4 (Tiger) uses Java 1.5. It is possible to run Java 1.4 on MacOS X Jaguar but it may interfere with operation of the standard environment.

Verify the following paragraph! This explanation, however, should be right, or nearly so.
JAVA_HOME is at /Library/Java/Home, but this is a link into a directory /System/Frameworks/JavaJVMFramework/Versions which is used to switch between versions easily. There is a link Current and CurrentVersion which matches up the current Java environment with the appropriate version.

THE SITUATION

I wanted to learn about Java Servlet Pages (JSP) on my Macintosh (with MacOS X). I installed it the first time on a Windows XP Professional system, but my development machine is a Macintosh.

...

Step 3: Configure JAVA_HOME

We then need to set the JAVA_HOME environment variable - this is almost the same as setting the Windows XP environment variable.

...

Reboot (or login again, at least). This sets up the environment and cleans out any extras you still have running. It sets up JAVA_HOME as well.

Step 6: Start Tomcat

...