Hi Jochen,

On Thu, 20 Jan 2005 11:13:16 +0100
Jochen Staerk <[EMAIL PROTECTED]> wrote:


> OK. That's what I want to do; deploy my application (if possible as a 
> single java JAR) to users which use different OSses and have their OOs

> in different locations.
> I do not need to have officebean.jar in my JAR, but I'll explain why 
> that would have helped in the next paragraph. I won't do it, anyway, 
> because this obviously is not the way it's ment to be.


> OK. Additionally, I can not use a selfstarting JAR if I do not have a 
> classloader or a launcher application that changes the JAR-Manifest 
> according to the user's OO-location because a java -jar-Application 
> won't react on the -cp-Argument nor or the CLASSPATH-environment. 
> (http://java.sun.com/j2se/1.4.2/docs/tooldocs/findingclasses.html,
"The 
> JAR archive specified by the -jar option, which overrides all other 
> values. If this option is used, all user classes come from the
specified 
> archive.")

Thats right and that is the reason why you must use a classloader, but
in this case you will have problems to deliver your application as
single-jar. Is there a problem to provide a zip-archiv with some
folders, which have the user to unpack and double-click the
launcher.jar? Or want you use Webstart?  
There are possibilities to put all in a jar and use parts with
classloaders, but this is not easy to manage. 

> Do you mean this order can change in a newer OO-release or this
problem 
> can be resolved by using a newer OO-release?

I mean the order can changed by newer releases. The officebean.dll
depends on MSVCR70, UWINAPI, sal3, jpipe (this is the order to
load it). But this can be changed with OO2.0 or 1.1.x. 
I have not looked at OO2.0 and I don't know if the new OfficeBean will
handle this self, so I can only say this works for me with OO1.1.0-1.1.4
on Windows-systems. Linux (and maybe other unix-versions) does not have
this problem.



> > 
> > I hope this can help.
> very much, thank you

Fine, and if you need more code I can post a url.


Best Regards,
Simon


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

Reply via email to