j2ee installation problem on windows ME

I have downloaded the j2sdkee1.3 and have set all of the variables but when I type in j2ee -verbose or j2ee.bat -verbose ( as I have read about in peoples past problems ). I get the lines

out of environment space *2

syntax error * 3

exception in thread 'main' java.lang.NoClassDefFoundError: / appletviewer

do I need to be in a specific directory to do this command?

I have tried many things and read a lot of the examples that are posted here but I have found nothing to help so far, please help,

Anthony.

[559 byte] By [fitzgerald29] at [2007-9-26 3:20:31]
# 1

I have now increased the environment space which has eliminated the 'out of environment space errors, but I am still left with the syntax errors that I now believe to be due to double '=' within my environment varibles. I have read a past problem that says I need to 'REM' these out, but I dont know what that means or how to do it, can anyone help?

fitzgerald29 at 2007-6-29 11:36:28 > top of Java-index,Desktop,Deploying...
# 2

REM is for adding comments (remarks) in a batch file

In a batch file (file that ends with .bat), any line that starts with REM is considered to be a comment line.

So by inserting REM at the start of every line that has two or more = signs, you can get rid of the syntax errors.

neville_sequeira at 2007-6-29 11:36:28 > top of Java-index,Desktop,Deploying...
# 3

Thanx. I have done that and when I type the j2ee.bat -verbose now I get a screen that comes up and offers me a load of options, does this mean that the program has worked. Deploytool does the same and says that you can put -ui to get a userInterface but nothing happens when I type the command.

P.S. msdos prompt can sometimes print so much information that it goes of the screen. How can I look at this information ( cause there is no scrollbar like Im use to ). Also is there a copy like ctrl 'c' so that I can print out the information into here for example?

fitzgerald29 at 2007-6-29 11:36:28 > top of Java-index,Desktop,Deploying...