Hi Joachim,

> i was a week off, so my answer is a bit late. I tried to start it OOo
> with the -env:..., to set the JRE. The option dialog then shows that the
> check box (use JRE) is not marked and I am not able to start the letter
> wizard, which is implemented in Java. This is  the case because, the
> UNO_JAVA_JFW_CLASSPATH_URLS variable is not used in direct mode. You
> would have to specify UNO_JAVA_JFW_CLASSPATH or UNO_JAVA_JFW_ENV_CLASSPATH.
> This may also cause the unopkg to fail. I suppose that you need to have
> at least these jars on your class path:
> 
> jurt, ridl, java_uno, juh, jut, unoidl

So this should be the solution:
-----%<-----
soffice
-env:UNO_JAVA_JFW_JREHOME=file:///usr/lib/jvm/java-1.5.0-sun-1.5.0.06/
-env:UNO_JAVA_JFW_CLASSPATH=file:///usr/lib/openoffice/program/classes/jurt.jar;file:///usr/lib/openoffice/program/classes/ridl.jar;file:///usr/lib/openoffice/program/classes/java_uno.jar;file:///usr/lib/openoffice/program/classes/juh.jar;file:///usr/lib/openoffice/program/classes/jut.jar;file:///usr/lib/openoffice/program/classes/unoidl.jar
-----%<-----
but it does not solve my problem. Is this correct?

BTW if I start soffice
-env:UNO_JAVA_JFW_JREHOME=file:///usr/lib/jvm/java-1.5.0-sun-1.5.0.06/ I
can start the letter wizard...

Can you tell my why the unopkg tool does not accept the -env parameter
although the script itself should recognize it?

Greetings, Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to