problem with Java

<[email protected]> Sat, 1 Nov 2003 01:51:19 -0200 (BRST)
Newsgroups gmane.comp.tex.ppower4
Message-ID <[email protected]>
Hi!

I have a problem with the version of JRE (1.4.1_05) that I
installed. The pp4.bat <input.pdf> <output.pdf>, produces

Exception in thread "main" java.util.zip.ZipException: The system could not
find the specified file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)
        at java.util.jar.JarFile.<init>(Unknown Source)

The location of my copy of the pp4p.jar file and the Java runtime
environment was defined in the file pp4p.bat as

@ECHO OFF
REM PPower4 batch file
REM
REM You must define path for pp4p.jar and name of the java or jre command
REM Here the settings for the Sun Java Runtime Environment on my machine
REM NOTE: This requires Java 1.2.x!
REM set basedir="C:\Arquiv~1\Java\j2re1.4.1_05\lib"
set javacommand="C:\Arquiv~1\Java\j2re1.4.1_05\bin\java" REM
%javacommand% -jar %basedir%\pp4p.jar %1 %2 %3 %4 %5

and I have defined a file in the C:\WINNT dir named pp4.bat containing

@C:\Arquiv~1\Java\j2re1.4.1_05\lib\pp4p.bat %1 %2 %3 %4 %5

to able ppower4 to all folders in the machine.

I think that there is a problem in the location that I haven't observed!

Thanks,

Pablo.