try

String classPath = System.getProperty("java.class.path",".");

this should work

----- Original Message -----
From: "Prashant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 2:29 PM
Subject: not reading system classpath in windows


> Hello sir.
>
> I know this is a wrong list to ask this question but still i'm posting
since
> tomcat mailing list hasnot replied yet ... :-(
>
> I'm testing one web application written in java on linux and windows both.
>
> On linux system.getProperty("java.class.path") this shows me following
> classpath :
>
>
> $SYSTEM_CLASSPATH:{$CATALINA_HOME}\bin\bootstrap.jar
>
>
> however on windows machine it is just showing me :
>
> {$CATALINA_HOME}\bin\bootstrap.jar
>
>
> I've tried editing the .bat files of tomcat but no success ...
>
> can some1 please help me out for this .....
>
> Thankin you,
> Prashant
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to