You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Redden <jr...@matrix.cc> on 2003/04/17 02:18:59 UTC

watch out for this land mine

if you run under windows and install your JDK in "Program Files" you may 
end up getting this message:

:\Program Files\Apache Group\Tomcat 4.1>bin\catalina run
Using CATALINA_BASE:   .
Using CATALINA_HOME:   .
Using CATALINA_TMPDIR: .\temp
Using JAVA_HOME:       c:\progra~1\jdk1.3
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
java.util.zip.ZipException: The system cannot find the path specified
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:110)
        at java.util.jar.JarFile.<init>(JarFile.java:115)
        at java.util.jar.JarFile.<init>(JarFile.java:57)


I reinstalled the JDK in the top (C:\ ) directory and the problem dissapeared without reinstalling tomcat 4.

Just in case someone else runs into this ...




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


Re: watch out for this land mine

Posted by "K.C. Baltz" <kc...@lollimail.com>.
In general, Java is not terribly happy with directory names than contain 
spaces.

K.C.

John Redden wrote:

> if you run under windows and install your JDK in "Program Files" you 
> may end up getting this message:
>
> :\Program Files\Apache Group\Tomcat 4.1>bin\catalina run
> Using CATALINA_BASE:   .
> Using CATALINA_HOME:   .
> Using CATALINA_TMPDIR: .\temp
> Using JAVA_HOME:       c:\progra~1\jdk1.3
> [INFO] Registry - -Loading registry information
> [INFO] Registry - -Creating new Registry instance
> java.util.zip.ZipException: The system cannot find the path specified
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(ZipFile.java:110)
>        at java.util.jar.JarFile.<init>(JarFile.java:115)
>        at java.util.jar.JarFile.<init>(JarFile.java:57)
>
>
> I reinstalled the JDK in the top (C:\ ) directory and the problem 
> dissapeared without reinstalling tomcat 4.
>
> Just in case someone else runs into this ...
>
>
>
>
> ---------------------------------------------------------------------
> 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