This post saved me time! : )
And to save a lot of time for others that are trying to start the server on Windows as described in the book Head First EJB at pae 31 ...
Read at page xxiv again ...
the spec guarantees ONLY J2SE 1.3 support.(You might be tested on that!).
Download J2SE 1.3 (JDK) from
java.sun.com/j2se/1.3/download.html and install it to for example \Java\jdk1.3.1_16. Don�t install to some directory below "Program Files"! The space in "Program Files" will cause you problem! And yeaa, download this quickly to be safe because Sun has begun its End of Life proces for this download : )
Download J2EE 1.3 from
java.sun.com/j2ee/1.3/download.html and install it to for example \Java\j2sdkee1.3.1. Again, don�t install to some directory below "Program Files" because the space in "Program Files" will cause you problem!
Add an environment variable JAVA_HOME=
Your JDK installation directory, for example JAVA_HOME=C:\Java\jdk1.3.1_16. If you like me have also have or want to have J2SE (JDK) 5.0 installed somewhere else, probably at something like Program Files\Java\jdk1.5.0_06, you may set your JAVA_HOME environment variable to this directory and edit the file Java\j2sdkee1.3.1\bin\userconfig.bat so that the JAVA_HOME in that file have the path to your JDK 1.3 directory for your J2EE excercises.
And at the last, add an environment variable J2EE_HOME=
Your JDK installation directory, for example J2EE=C:\Java\j2sdkee1.3.1.
No should your server start as described in the book Head First EJB at pae 31.