(I searched the web and the archives using this as my search
string and couldn't find anything:
how AND to AND install AND
j2ee AND in AND windows AND xp
So if I am repeating something from before, I'm sorry.)
I recently installed Windows Xp. I have, also recently, decided to learn j2ee. So I got a book on the subject, downloaded the newest j2se, j2se sdk 1.4.01 and j2eesdk 1.3.1 and installed them both. I then went to sun's site and followed their instruction for getting j2ee up and running in Windows:
1. If you have installed a previous version of the J2EE SDK product, you must delete or un-install the previous version from your computer before proceeding with the new version. When you are ready, run the setup program.
Double-click on the icon of the j2sdkee-1_3_1-win.exe file, and follow the instructions provided by the setup program. By default, the setup program installs the software in C:\j2sdkee1.3.1.
2. Set the environment variables.
Before running the J2EE SDK, you must set these environment variables:
J2EE_HOME - the directory where you installed this release.
JAVA_HOME - the directory where the Java 2 SDK Standard Edition is installed.
PATH - include the bin directory beneath the directory where you've installed this release.
If you need help with setting these variables, see Setting Environment Variables.
3. See "Where do I go from here?"
Point 3 takes you to the j2ee tutorial, where after making sure the variables are set properly, you simply type: j2ee -verbose.
But I keep getting this error:
"j2ee is not recognized as an internal or external command, operable program, or batch file."
I have check my environment variables 3 times. They are:
J2EE_HOME=C:\j2sdkee1.3.1
JAVA_HOME=C:\j2sdk1.4.0_01
Path=%SYSTEMROOT%\system32;%SYSTEMROOT%;%SYSTEMROOT%\COMMAND;C:\xml_tools\xalan-j_2_3_1\bin;%SYSTEMROOT%\system32\WBEM;%J2EE_HOME%\bin;%JAVA_HOME%\bin
where the directories for j2se and j2ee are where they were installed at the outset.
Am I mising something? If I type "java" at the command prompt I get the usual list of possible command line additions. So the path is set. But it won't recognize "j2ee" or "j2ee -verbose".
Any ideas?
[ August 02, 2002: Message edited by: Ian Ohlander ]