Malo Pichot wrote:
> I'm not a newbie with XXE, but with Linux...
> 
> I can't launch XXE. I don't find documentation anywhere else than the 
> few lines that indicate how it should be done to extract files from the 
> .tar.gz archive. I do so, but when I want to launch XXE (typing './xxe' 
> at prompt), I just receive the message :
> 
> ./xxe: line 35: java: command not found
> 
> This line (in the script) is:
> 
> java $mem $mac \
> 
> and, its follow by:
> 
>    -Dxml.catalog.files="$XXE_CATALOGS" \
>    -DXXE_PLUGIN="$XXE_PLUGIN" \
>    -DXXE_CONFIG="$XXE_CONFIG" \
>    -classpath $cp \
>    com.xmlmind.xmleditapp.app.Start "$@"
> 
> since the end of the file.
> 
> There a problem with my Java installation ?

Probably no. The xxe shell script assumes that the java executable is in 
your execution path. That is, if you open a terminal, typing "java" at 
the command line prompt prints something like this:

----
$java
Usage: java [-options] class [args...]
.
.
.
----

I'll not try to explain how to put java in your path.

Just edit the xxe shell script using a text editor and replace java by 
the full path of the java executable. For example, replace word "java" 
by "/opt/java/bin/java". This is just an example, I don't know where the 
java executable is found on your machine (you can try command line 
"whereis java").

-- 
Hussein SHAFIE, hussein at pixware.fr,
Pixware, Immeuble Capricorne, 23 rue Colbert,
78180 Montigny Le Bretonneux, France,
Phone: +33 (0)1 30 60 07 00, Fax: +33 (0)1 30 96 05 23


Reply via email to