Fatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later)
Hi
Can any one help me
i install the j2ee
i have jdk 1.4 version
i set the JAVA_HOME & J2EE_HOME path also
but when i run j2ee.bat i got the folloing error
Fatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later)
so any one solved my problem
Regards
Nimesh
[339 byte] By [
nmorkara] at [2007-9-28 18:18:03]

Hi!
U have not mentioned your platform.
Make sure u dont have java.exe file in the PATH
1) Windows has one default java.exe( Microsoft JVM in windows dirctory i think)
2) if u have installed Netscape/Mozilla with its jvm it will trouble u
So just rename java.exe to java2XX.exe
and set path to JDK_HOME/bin
try now
raghu
Another possibility might be the J2EE implementation itself.
In the code for j2sdkee1.2.1, the error you see appears to originate in the checkJVMVersion method of com.sun.enterprise.util.Utility:
if ( !javaVersion.startsWith("1.2")
&& !javaVersion.startsWith("1.3") ) {
errmsg += "Fatal Error: This J2EE SDK release runs only on " +
"Java 2 (JDK1.2 or later)\n";
fatal = true;
This method is called first by J2EEServer. If you are using a later implementation of J2SE, then you will probably have some problems.
Hi,
Having two jdk's in the path might also be the problem.
In the CLASSPATH & PATH environment variables, whichever jdk comes first in sequence in the delimited path references , that jdk is used as the active jdk.
Even though you might have installed jdk1.4
try doing the below path setting :
PATH = <jdk1.4 - path> ;%PATH%
CLASSPATH = <JDK1.4 - LIB PATH> ; %CLASSPATH%
Hello Sir,Can you please help me what jar files did u include in the classpath? Thanks in advance.> HI,> > Pls do inform whether setting paths solved your> problem.> > Regards,> > Pavan.