Re: [dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Stephan Bergmann
Rony G. Flatscher wrote: Hi there, just a stupid question: why doesn't the Bootstrap helper class use the "com.sun.star.lib.loader." knowing the important role of that library to find the OO executable ? See for a planned improvement in

Re: [dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi there, just a stupid question: why doesn't the Bootstrap helper class use the "com.sun.star.lib.loader." knowing the important role of that library to find the OO executable ? Regards, ---rony >>> However, *where* would one find the "com.sun.star.lib.loader." package? >>> >> Look in

[dev] SDK-only Java libs? (Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi Jim, >> However, *where* would one find the "com.sun.star.lib.loader." package? > Look in the SDK/classes directory... > > Get the SDK at api.openoffice.org Oh, I see. Was not aware of that at all. But this would mean that one cannot reliably deploy Java applications from the command line witho

Re: [dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Jim Watson
Rony G. Flatscher wrote: However, *where* would one find the "com.sun.star.lib.loader." package? Look in the SDK/classes directory... Get the SDK at api.openoffice.org jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

[dev] Next .... (Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi there, thanks to everyone, I was not aware of special needs to find OOo. Ashok was kind enough to send me his jar file, and its content is: Archive: helloworld.jar testing: META-INF/OK testing: META-INF/MANIFEST.MF OK testing: org/ OK tes

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Jim Watson
Rony G. Flatscher wrote: See, I would like to learn what is needed for an "out-of-the-box" Ubuntu OOo installation to be employed to run Java apps from the command line. (Here SDK/NetBeans/Eclipse setups can come into ones way as it is then not always clear which environment is in effect under wh

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread ashok _
i have sent you the project with the build scripts offlist... but you dont need things like ld_library_path for the jar deploymet to work... there is an installationfinder & loader packaged within the jar which locates the openoffice installation and other arbitary paths automatically which i

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Juergen Schmidt
Rony G. Flatscher wrote: Hi, In fact... officebean.jar is not required for the helloworld appit was suggested by the netbeans wizard, but it will work without it That is very interesting! Could you please either send me the jar-file (or its included manifest file) and the settings of C

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi Jürgen, > the problem is quite simple. The Ubuntu guys install OpenOffice or > part of it in a way which is not supported in all cases. For example > the Java UNO bootstrap mechanism depends on a specific layout > (directory structure, Stephan has pointed out earlier). > And yes i agree that the

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi, > In fact... officebean.jar is not required for the helloworld appit > was suggested by the netbeans wizard, but it will work without it That is very interesting! Could you please either send me the jar-file (or its included manifest file) and the settings of CLASSPATH, PATH and LD_LIB

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread ashok _
In fact... officebean.jar is not required for the helloworld appit was suggested by the netbeans wizard, but it will work without it On 2/5/07, Rony G. Flatscher <[EMAIL PROTECTED]> wrote: One last remark: it is likely that your pacakge works because of "officebean.jar". But I would no

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread ashok _
I tried executing the attached jar file on another ubuntu edgy box WITHOUT netbeans or the OO sdk...with just OO2.04 (the standard Ubuntu openoffice installation) installed, it works perfectly, if i do either : java -jar "helloworld.jar" or if do a launch with JVM from the Gnome file manager...

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi, > these were the required jar files suggested by netbeans: (i noticed > you didnt mention jut.jar in the comments of your code) > > juh.jar > jurt.jar > jut.jar > officebean.jar > ridl.jar > unoil.jar One last remark: it is likely that your pacakge works because of "officebean.jar". But

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Rony G. Flatscher
Hi, > these were the required jar files suggested by netbeans: (i noticed > you didnt mention jut.jar in the comments of your code) > > juh.jar > jurt.jar > jut.jar > officebean.jar > ridl.jar > unoil.jar Thank you for this list, will look into it! --- Ad your environment: it seems that you

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-05 Thread Juergen Schmidt
Hi Rony, Rony G. Flatscher wrote: Hi there, just wanted to report that the genuine OOo 2.1 can be invoked via Java from the command line, whereas the Ubuntu version cannot. Did remove the genuine OOo 2.1 and re-installed the Ubuntu OOo 2.0.4 version (the latest they have). The Ubuntu version p

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-04 Thread ashok _
these were the required jar files suggested by netbeans: (i noticed you didnt mention jut.jar in the comments of your code) juh.jar jurt.jar jut.jar officebean.jar ridl.jar unoil.jar On 2/5/07, ashok _ <[EMAIL PROTECTED]> wrote: Hello Rony: I used your code to successfully build and exec

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-04 Thread ashok _
Hello Rony: I used your code to successfully build and execute an openoffice UNO client application. (See the attached code). i executed the jar file from the command line using: java -jar "helloworld.jar" and it launched openoffice writer and wrote the hellow world text into the editor windwo..

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-04 Thread Rony G. Flatscher
Hi, > I noticed you were setting a whole lot of classpaths > > i would suggest you get hold of netbeans 6 milestone 5 IDE, and > install the openoffice development plugin on top of that. It takes a > lot of pain out of the openoffice development process.by detecting > and setting up envi

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-04 Thread Rony G. Flatscher
Hi, ashok _ wrote: > I am running oOo 2.1 on ubuntu... > > I am running the standard jdk 1.5.08 installation... everything works > fine for me. > > I noticed that i had to explicitly enable Java in oOo after the > installation, by going to tools->options->java and expicitly selecting > a JVM t

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-04 Thread ashok _
I noticed you were setting a whole lot of classpaths i would suggest you get hold of netbeans 6 milestone 5 IDE, and install the openoffice development plugin on top of that. It takes a lot of pain out of the openoffice development process.by detecting and setting up environment variab

Re: [dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-04 Thread ashok _
I am running oOo 2.1 on ubuntu... I am running the standard jdk 1.5.08 installation... everything works fine for me. I noticed that i had to explicitly enable Java in oOo after the installation, by going to tools->options->java and expicitly selecting a JVM there maybe that is the step

[dev] Little update (Re: [dev] Seeking help on Ubuntu 6.10 OOo v. 2.0.4 for starting OOo via Java

2007-02-04 Thread Rony G. Flatscher
Hi there, just wanted to report that the genuine OOo 2.1 can be invoked via Java from the command line, whereas the Ubuntu version cannot. Did remove the genuine OOo 2.1 and re-installed the Ubuntu OOo 2.0.4 version (the latest they have). The Ubuntu version places the binaries into /usr/lib/open