Path error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rengaraj
    New Member
    • Jan 2007
    • 168

    Path error

    When setting path for j2sdkee1.3.1 server ....The following error occurs.

    I typed

    set path=c:\jdk1.4\ bin;c:\j2sdkee1 .3.1\bin;
    set classpath=c:\j2 sdkee1.3.1\lib\ j2ee.jar;
    set JAVA_HOME=c:\jd k1.4;
    set J2EE_HOME=c:\j2 sdkee1.3.1;

    cmdPrompt>j2ee
    ERROR : set J2EE_HOME to the path of a valid j2sdkee.
    What would be the reason??
  • tgkprog
    New Member
    • Dec 2007
    • 4

    #2
    set J2EE_HOME=c:\j2 sdkee1.3.1

    this has to be the full path to the parent of the bin folder without anything before or after

    Path is a special windows variable that is parsed and you can have multiple paths in it

    but J2EE_HOME is only for java and expected to have just one folder in it

    Comment

    • ajos
      Contributor
      • Aug 2007
      • 283

      #3
      Originally posted by rengaraj
      When setting path for j2sdkee1.3.1 server ....The following error occurs.

      I typed

      set path=c:\jdk1.4\ bin;c:\j2sdkee1 .3.1\bin;
      set classpath=c:\j2 sdkee1.3.1\lib\ j2ee.jar;
      set JAVA_HOME=c:\jd k1.4;
      set J2EE_HOME=c:\j2 sdkee1.3.1;

      cmdPrompt>j2ee
      ERROR : set J2EE_HOME to the path of a valid j2sdkee.
      What would be the reason??
      I think you just need CATALINA_HOME,J AVA_HOME and CLASSPATH to set in the environment variable.
      It may help if you use an IDE coz the ide's create their own class path for your applications.
      Happy Holidays and Merry Christmas.:)
      regards,
      ajos

      Comment

      Working...