Hi Stephan,

thanks for these hints. Is there any way to do this with OOo 2.x?

Greetings, Tobias

Stephan Bergmann schrieb:
> Tobias Krais wrote:
>> Hi together,
>>
>> I need to get the path of the unopkg or soffice executable in Java. Is
>> there a platform independent way to get it? Does an API exist for it?
> 
> In OOo 3, the bootstrap variable
> (<http://wiki.services.openoffice.org/wiki/Uno/Binary/Spec/Bootstrapping>)
> BRAND_BASE_DIR points to the base directory of the Brand Layer
> (<http://wiki.services.openoffice.org/wiki/ODF_Toolkit/Efforts/Three-Layer_OOo>),
> so expanding
> (<http://api.openoffice.org/docs/common/ref/com/sun/star/util/MacroExpander.html>)
> the string "$BRAND_BASE_DIR/program" should give a corresponding
> OOo-internal
> (<http://api.openoffice.org/docs/common/ref/com/sun/star/uri/ExternalUriReferenceTranslator.html>)
> file URL for the directory where unopkg and soffice are located, on all
> platforms.  However, whether unopkg is just "unopkg" or "unopkg.com" is
> platform dependent...
> 
> -Stephan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to