The second quote should be after java, i.e.:
"$JAVA_HOME/bin/java" -Xmx512m ...
Geoff
On 7 Mar 2006, at 16:44, Jacques Foucry wrote:
> On 7 mars 06, at 16:26, Michael Sulyaev wrote:
>
>> You should edit your /Applications/XEP/xep and add -Xmx256M after
>> /bin/java (or whatever the java binary is). This sets maximum Java
>> heap size to 256M (change the value as needed). There is also -Xms
>> option which controls the initial Java heap size.
>
> Michael,
>
> I just tried, my xep script shell looks like :
>
> #!/bin/sh
>
> # XEP command-line
>
> JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/
> Home"
> XEP_HOME="/Applications/XEP"
>
> CP="$JAVA_HOME/lib/tools.jar:\
> $XEP_HOME/lib/xep.jar:\
> $XEP_HOME/lib/saxon.jar:\
> $XEP_HOME/lib/xt.jar"
>
> "$JAVA_HOME/bin/java -Xmx512m" \
> -classpath "$CP" \
> "-Dcom.renderx.xep.CONFIG=$XEP_HOME/xep.xml" \
> com.renderx.xep.XSLDriver "$@"
>
> But the result is again an error :
>
> /Applications/XEP/xep: line 14:
> /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/
> java -Xmx512m: No such file or directory
>
> --
> Jacques
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of
> Service http://www.renderx.com/terms-of-service.html
>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Mar 7 09:22:56 2006
This archive was generated by hypermail 2.1.8 : Tue Mar 07 2006 - 09:22:57 PST