You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ines Robbers <ml...@comprehend.de> on 2003/04/01 23:43:09 UTC

-Djava.endorsed.dirs=

Hi,

I have installed Tomcat under 

C:\Programme\Apache Group\Tomcat 4.1 

and the JDK under 

C:\Programme\Java\j2re1.4.1_02

When trying to start up Tomcat with 

cd C:\Programme\Apache Group\Tomcat 4.1\bin\startup 

I get an error message: "The JAVA_HOME environment variable is not
defined correctly" and "-Djava.endorsed.dirs= cannot be found"

The three variables I set so far are:

JAVA_HOME
C:\Programme\Java\j2re1.4.1_02\bin

Path: ...;C:\Programme\Java\j2re1.4.1_02\bin

CATALINA_HOME:
C:\Programme\Apache Group\Tomcat 4.1

Does anyone know what the problem is?

Many thanks for your help!

Ines 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


AW: -Djava.endorsed.dirs=

Posted by Ines Robbers <ml...@comprehend.de>.
Ok, many thanks Ramiro!

I downloaded the SDK but also I installed it under C: instead of
C:/Programme and that did it..  :-)

Cheers,

Ines



> -----Ursprüngliche Nachricht-----
> Von: Ramiro Gonzalez [mailto:ramkgs2@yahoo.com.mx] 
> Gesendet: Dienstag, 1. April 2003 23:56
> An: Tomcat Users List
> Betreff: Re: -Djava.endorsed.dirs=
> 
> 
> The JAVA_HOME don't have to include then /bin directory...
> 
> so the correct could be:
> 
> JAVA_HOME
> C:\Programme\Java\j2re1.4.1_02
> 
> BUT...
> 
> you need the SDK, not just the runtime, (j2re is the runtime).
> 
> So, go to java.sun.com, and download the latest SDK.
> 
> Saludos!
> 
> 
> Ines Robbers wrote:
> 
> >Hi,
> >
> >I have installed Tomcat under
> >
> >C:\Programme\Apache Group\Tomcat 4.1
> >
> >and the JDK under
> >
> >C:\Programme\Java\j2re1.4.1_02
> >
> >When trying to start up Tomcat with
> >
> >cd C:\Programme\Apache Group\Tomcat 4.1\bin\startup
> >
> >I get an error message: "The JAVA_HOME environment variable is not 
> >defined correctly" and "-Djava.endorsed.dirs= cannot be found"
> >
> >The three variables I set so far are:
> >
> >JAVA_HOME
> >C:\Programme\Java\j2re1.4.1_02\bin
> >
> >Path: ...;C:\Programme\Java\j2re1.4.1_02\bin
> >
> >CATALINA_HOME:
> >C:\Programme\Apache Group\Tomcat 4.1
> >
> >Does anyone know what the problem is?
> >
> >Many thanks for your help!
> >
> >Ines
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >  
> >
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: -Djava.endorsed.dirs=

Posted by Ramiro Gonzalez <ra...@yahoo.com.mx>.
The JAVA_HOME don't have to include then /bin directory...

so the correct could be:

JAVA_HOME
C:\Programme\Java\j2re1.4.1_02

BUT...

you need the SDK, not just the runtime, (j2re is the runtime).

So, go to java.sun.com, and download the latest SDK.

Saludos!


Ines Robbers wrote:

>Hi,
>
>I have installed Tomcat under 
>
>C:\Programme\Apache Group\Tomcat 4.1 
>
>and the JDK under 
>
>C:\Programme\Java\j2re1.4.1_02
>
>When trying to start up Tomcat with 
>
>cd C:\Programme\Apache Group\Tomcat 4.1\bin\startup 
>
>I get an error message: "The JAVA_HOME environment variable is not
>defined correctly" and "-Djava.endorsed.dirs= cannot be found"
>
>The three variables I set so far are:
>
>JAVA_HOME
>C:\Programme\Java\j2re1.4.1_02\bin
>
>Path: ...;C:\Programme\Java\j2re1.4.1_02\bin
>
>CATALINA_HOME:
>C:\Programme\Apache Group\Tomcat 4.1
>
>Does anyone know what the problem is?
>
>Many thanks for your help!
>
>Ines 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org