Actually this could be caused by the initial error, that unopkg has
problems with the bootstrap variables.
You could build jvmfwk project with debug information then the output
shows what the class path is.
Joachim
Tobias Krais wrote:
Hi Joachim,
OK. I used:
-%<-
export UNO_JAVA_J
Hi Joachim,
>> OK. I used:
>> -%<-
>>
>> export UNO_JAVA_JFW_ENV_CLASSPATH="/usr/lib/openoffice/program/classes/j
>> urt.jar;/usr/lib/openoffice/program/classes/ridl.jar;/usr/lib/openoffice/program
>>
>> /classes/java_uno.jar;/usr/lib/openoffice/program/classes/juh.jar;/usr/lib/openo
>>
>>
Hi,
OK. I used:
-%<-
export UNO_JAVA_JFW_ENV_CLASSPATH="/usr/lib/openoffice/program/classes/j
urt.jar;/usr/lib/openoffice/program/classes/ridl.jar;/usr/lib/openoffice/program
/classes/java_uno.jar;/usr/lib/openoffice/program/classes/juh.jar;/usr/lib/openo
ffice/program/classes/jut.jar;
Hi Joachim,
> unopkg does not seem to accept bootstrap variables on the command line.
> This could be a bug. You could still set the variable as environment
> variable. For example
> setenv UNO_JAVA_JFW_JREHOME file:///usr/lib/jvm/java-1.5.0-sun-1.5.0.06/
>
> unopkg add ...
OK. I used:
-%<-
Hi,
unopkg does not seem to accept bootstrap variables on the command line.
This could be a bug. You could still set the variable as environment
variable. For example
setenv UNO_JAVA_JFW_JREHOME file:///usr/lib/jvm/java-1.5.0-sun-1.5.0.06/
unopkg add ...
Joachim
Tobias Krais wrote:
Hi Joa
Hi Joachim,
thank you for helping me again and again. I make good progress here.
First I had to delete my
~/.openoffice2/user/config/javasettings_Linux_x86.xml. Last time I
forgot this and it did not work out.
> UNO_JAVA_JFW_CLASSPATH requires system paths. Spezify the class path
> just as you wo
Hi Tobias,
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/p
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
Hi,
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_J
Hi Joachim,
>> I read that OOo framework knows two modes: application mode and direct
>> mode. Direct mode is what I need, because it does not read existing
>> configuration. How can I start soffice or unopkg in direct mode?
> The problem with OOo is that it is configured to use application mode.
Tobias Krais wrote:
I read that OOo framework knows two modes: application mode and direct
mode. Direct mode is what I need, because it does not read existing
configuration. How can I start soffice or unopkg in direct mode?
The problem with OOo is that it is configured to use application mode.
T
Hi Tom,
> Well if I'm not completely mistaken you only need to modify the path to
> the jre used by openoffice don't you?
I think so. At the moment I am testing whether there are other things
that need to be changed or not (like VendorID,...).
> I have no sed commando available at the moment but
Hi Tom,
> Well I could only second Tobias that if you are adminstrating clients
> via e.g. an ssh-session it would be great if you would not need to use
> the GUI to change your clients Java configuration without forwarding
> your X for example.
thats it and even worse: have a look at www.ajaxwri
Hi Joachim,
> For more information about how a JRE is selected by OOo you could have a
> look at:
> http://udk.openoffice.org/common/man/spec/javavendorextension.sxw
I investigated this document and it is really good work. That helped me
to understand OOo and Java. Please let me ask some question
Well I could only second Tobias that if you are adminstrating clients
via e.g. an ssh-session it would be great if you would not need to use
the GUI to change your clients Java configuration without forwarding
your X for example.
Tom
Joachim Lingner schrieb:
>
> Tom Schindl wrote:
>> Hi,
>>
>> W
Well if I'm not completely mistaken you only need to modify the path to
the jre used by openoffice don't you?
I have no sed commando available at the moment but because I'm better in
perl here's a one liner (this is even cross-platform as it's perl :-)
:
8<
perl -e
Hi Peter,
> http://en.wikipedia.org/wiki/Sed
I know this littel program, but I don't know how sed can change the JRE
for OOo...
Greetings, Tobias
>>> Well if you are on linux a simple "sed" command could change the used
>>> JDK or am I missing something. This could surely done also on win32 but
Tom Schindl wrote:
Hi,
Well if you are on linux a simple "sed" command could change the used
JDK or am I missing something. This could surely done also on win32 but
I have no idea on win32-scripting. The information is stored on my
system in:
[EMAIL PROTECTED]:~tom/.openoffice/user/config/java
Hi Tobias,
http://en.wikipedia.org/wiki/Sed
Regards
Peter
Tobias Krais schrieb:
Hi Tom,
Well if you are on linux a simple "sed" command could change the used
JDK or am I missing something. This could surely done also on win32 but
I have no idea on win32-scripting. The information is stored o
Hi Tom,
> Well if you are on linux a simple "sed" command could change the used
> JDK or am I missing something. This could surely done also on win32 but
> I have no idea on win32-scripting. The information is stored on my
> system in:
>
> [EMAIL PROTECTED]:~tom/.openoffice/user/config/javasettin
Hi,
Well if you are on linux a simple "sed" command could change the used
JDK or am I missing something. This could surely done also on win32 but
I have no idea on win32-scripting. The information is stored on my
system in:
[EMAIL PROTECTED]:~tom/.openoffice/user/config/javasettings_Linux_x86.xml
Tobias Krais wrote:
Hi Joachim,
selecting a different JRE is only possible through the options dialog.
would it be a good idea to add such a feature?
Selecting a JRE can be regarded as part of the office configuration. Now
one could argue, that every aspect of the configuration should be
Hi Joachim,
> selecting a different JRE is only possible through the options dialog.
>> at the moment I am creating a little Debian package. This package only
>> runs with a Java >= 1.5. How can I tell the OOo installation via
>> commandline to use a more modern Java than the Default 1.4?
which
Hi Joachim,
selecting a different JRE is only possible through the options dialog.
would it be a good idea to add such a feature?
Greetings, Tobias
at the moment I am creating a little Debian package. This package only
runs with a Java >= 1.5. How can I tell the OOo installation via
command
Hi,
selecting a different JRE is only possible through the options dialog.
Joachim
Tobias Krais wrote:
Hi together,
at the moment I am creating a little Debian package. This package only
runs with a Java >= 1.5. How can I tell the OOo installation via
commandline to use a more modern Java tha
Hi together,
at the moment I am creating a little Debian package. This package only
runs with a Java >= 1.5. How can I tell the OOo installation via
commandline to use a more modern Java than the Default 1.4?
Greetings, Tobias
-
26 matches
Mail list logo