frist of all, just to make sure, have you installed your Java 2 SDK enterprise edition on your computer.
If yes then it looks like ur j2ee installation directory is not in your classpath.
If ,for example, you installed your j2ee sdk in c:\j2sdkee directory then you can compile your files using the following
javac -classpath c:\j2sdkee\lib\j2ee.jar <<your class name>>
you can replace c:\j2sdkee with your directory path and try compiling again.
Hope it helps ...
you can also use the jboss/server/default/lib jar files in this case jboss-j2ee.jar.