Rony G. Flatscher wrote:
Hi there,
sorry, was away for a week with no access to e-mail, hence my late answer:
[However, the Extension manager on the tools menu does not work
either in this version; it does from the commandline, though, ie.
unopkg works there.]
What is broken with the
Hi there,
Hm, if the error message tells the truth, there is some problem
accessing that log.txt file. I assume you are on Linux; you could try
strace -f ./unopkg gui
O.K. it is 1,8 MB large, so I would not like to attach it to this
e-mail. I can zip-it up and send it to you via direct
O.K. it is 1,8 MB large, so I would not like to attach it to this
e-mail. I can zip-it up and send it to you via direct e-mail, otherwise
please advise.
Only of interest are lines containing log.txt. Should be few enough
to post inline. (Also, does an ls -l on that log.txt file show any
Hi Roderick,
http://www.openoffice.org/issues/show_bug.cgi?id=54163 as mentioned in
the Debian section of
http://documentation.openoffice.org/setup_guide2/2.x/en/SETUP_GUIDE.pdf ?
thank you for the links, and indeed, it seems that this is the same bug
(even 18 months later). [Will look
Stephan Bergmann wrote:
Rony G. Flatscher wrote:
Hi Stephan,
The Ubuntu layout you described in a previous mail (libs in
/usr/lib/openoffice/program, jars in /usr/share/java/openoffice)
cannot work (at least not without some modifications to the OOo code
base). Not sure why Ubuntu decided to
Rony G. Flatscher wrote:
Hi Caio Tiago,
thank you *very* much, your directions worked right out of the book! ;)
First I deinstalled the Ubuntu OOo, then followed your instructions and
was able to install the genuine OOo from the OOo homepage, getting the
standard installation tree on the /opt
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
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 have the
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 I would
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...
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 not
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
Hi Stephan,
The Ubuntu layout you described in a previous mail (libs in
/usr/lib/openoffice/program, jars in /usr/share/java/openoffice)
cannot work (at least not without some modifications to the OOo code
base). Not sure why Ubuntu decided to ship a broken OOo (maybe they
are not even aware
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 they
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
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
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
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
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
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 without
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 the
Rony G. Flatscher wrote:
Hi Stephan,
The Ubuntu layout you described in a previous mail (libs in
/usr/lib/openoffice/program, jars in /usr/share/java/openoffice)
cannot work (at least not without some modifications to the OOo code
base). Not sure why Ubuntu decided to ship a broken OOo (maybe
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 http://www.openoffice.org/issues/show_bug.cgi?id=66050 for a
planned improvement in
Hi Caio Tiago,
thank you *very* much, your directions worked right out of the book! ;)
First I deinstalled the Ubuntu OOo, then followed your instructions and
was able to install the genuine OOo from the OOo homepage, getting the
standard installation tree on the /opt branch.
Could get the Java
Hi Jim,
You should get the Software Development Kit from your distribution or
from http://api.openoffice.org, there are examples in
SDK/examples/DevelopersGuide/FirstSteps
This assumes, that the Java program I use would not work. However, it is
a simple test-program which has been working like
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
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
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
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 there
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
On 04/02/2007, at 9:45 AM, Rony G. Flatscher wrote:
would allow a Java program to start to run, but getting immediately
to a
problem in the Bootstrap class which is not able to find the OOo
binary:
com.sun.star.comp.helper.BootstrapException: no office
executable found!
at
Jim Watson, 03-02-2007 20:27:
On 04/02/2007, at 9:45 AM, Rony G. Flatscher wrote:
would allow a Java program to start to run, but getting immediately to a
problem in the Bootstrap class which is not able to find the OOo binary:
com.sun.star.comp.helper.BootstrapException: no office
32 matches
Mail list logo