On Jun/09, John O Laoi wrote:
> The first one worked i.e., I got no error - just the prompt back.

"working" would be paros starting up. Check the return code with "echo
$?" after you get the prompt back.

> # /usr/lib/jvm/java-6-sun/jre/bin/java -Duser.dir=$HOME/.paros -cp
> /usr/share/java/commons-codec.jar:/usr/share/java/commons-collections3.jar:/usr/share/java/commons-configuration.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/commons-lang.jar:/usr/share/java/commons-logging.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/jdic.jar:/usr/share/java/hsqldb.jar:/usr/share/java/paros.jar
> org.parosproxy.paros.Paros
> Unable to initialize home directory! /root/.paros/xml/config.xml (No
> such file or directory)
> java.io.FileNotFoundException: /root/.paros/xml/config.xml (No such
> file or directory)
>       at java.io.FileInputStream.open(Native Method)
>       at java.io.FileInputStream.<init>(FileInputStream.java:106)
>       at org.parosproxy.paros.model.FileCopier.copyLegacy(Unknown Source)
>       at org.parosproxy.paros.model.FileCopier.copy(Unknown Source)
>       at org.parosproxy.paros.Constant.<init>(Unknown Source)
>       at org.parosproxy.paros.Constant.getInstance(Unknown Source)
>       at org.parosproxy.paros.Paros.main(Unknown Source)

You definitely do not want to run as root. Instead, run as your regular;
if /home/you/.paros does not exist, create if by copying it from
/usr/share/paros (that's what /usr/bin/paros does).

> I don't know how to check the Java version.
> It is probably the most up to date on squeeze, as I upgraded this morning.

there are several different implementation of the java standard, is what
I was getting at. Try running "java -version".

Cheers,

--Seb



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to