You are here

OOorg 2.3.1 and jre 1.6.0_03

13 posts / 0 new
Last post
dr_Fell
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-21 06:06
OOorg 2.3.1 and jre 1.6.0_03

Hello

My portable openoffice can't find java - I tried both locations (G:\2_Programy\CommonFiles\Java and G:\2_Programy\OpenOfficePortable\App\Java) - in those folders I have bin and lib folders that I took from jre1.6.0_03 directory on my friend's computer.

My javaportable.ini:
[JavaPortable]
Vendor=Sun Microsystems Inc.
Version=1.6.0_03
URL=http://java.sun.com/

and stil ooorg base writes that it requires jre installation. I can't use portabiliser tool now - i have only zip archive with java directory from my friend's machine.

What am I doing wrong ?

Michael.

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Where is your

javaportable.ini?
Other than that you put it in the wrong folder, everything should work.
Well...you don't have the standard folder layout but even that shouldn't be a problem.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

dr_Fell
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-21 06:06
I have .ini in the same

I have .ini in the same folders where i put lib and bin directories. Is that ok ?

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
yes. that's

yes. that's ok.
/OpenOfficePortable/App/Java/

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
When you launch

When you launch OpenOfficePortable, a file

OpenOfficePortable\Data\settings\user\config\javasettings_Windows_x86.xml

is created. It's a file that can be opened in Notepad.

What are the paths between the "location" tags, and do they make sense?

I suppose there's a possibility the zip archive of java files is not good.

MC

dr_Fell
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-21 06:06
my

my javasettings_Windows_x86.xml:

<?xml version="1.0" encoding="UTF-8" ??>
-
-

(I regret but I don't understand anything...)

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
mine looks

like this:

<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled xsi:nil="true"/>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="true"/>
<jreLocations xsi:nil="false">
<location>file:///J:/PortableApps/CommonFiles/Java/</location>
</jreLocations>
<javaInfo xsi:nil="false" vendorUpdate="2004-01-30" autoSelect="false">
<vendor>Sun Microsystems Inc.</vendor>
<location>file:///J:/PortableApps/CommonFiles/Java/</location>
<version>1.6.0_03</version>
<features>0</features>
<requirements>0</requirements>
<vendorData>660069006C0065003A002F002F002F004A003A002F0050006F0072007400610062006C00650041007000700073002F0043006F006D006D006F006E00460069006C00650073002F004A006100760061002F00620069006E002F0063006C00690065006E0074002F006A0076006D002E0064006C006C00</vendorData>
</javaInfo>
</java>

I would try a clean install to my Desktop and see if there is the same problem.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

dr_Fell
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-21 06:06
my

my javasettings_Windows_x86.xml:

<
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- This is a generated file. Do not alter this file!
-->
- <java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled xsi:nil="true" />
<userClassPath xsi:nil="true" />
<vmParameters xsi:nil="true" />
<jreLocations xsi:nil="true" />
<javaInfo xsi:nil="true" />
</java>

(I regret but I don't understand anything...)

sorry, first versions were not displayed, I had to learn how to put xml on the website in order to display it well.

So there's something wrong - I don't have patches like You.

I hope that "PortableApps" directory isn't necessary ? That would be a bit limiting.

EDIT: I am not able to make installation to this desktop I am working on since it is not my desktop Wink I'll try later at home.

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
I forgot that XML would get

I forgot that XML would get filtered by the forum, sorry.

It looks like it can be pasted into a note if you put
<pre> and </pre> around it (on lines above and below).

You don't need to understand it, just paste. Wink

Actually, I asked what was between the <location> and </location> tags. It looks like you don't have those tags, so "nothing" is the appropriate answer.

I think it would need someone more knowledgeable to say for sure, but it looks like something is not correct with your java (yeah, I know, stating the obvious). If the launcher had found App\Java\javaportable.ini it would have done some things, and it looks like it didn't.

You are running it from the OpenOfficePortable directory, rather than from somewhere else, right?

MC

Simeon
Simeon's picture
Offline
Last seen: 9 years 5 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
no

even if you do it in pre tags the > will get filtered you have to replace > with &gt;...

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

rab040ma
Offline
Last seen: 4 months 3 weeks ago
Joined: 2007-08-27 13:35
Ah. I did it by replacing <

Ah. I did it by replacing < with &lt; Blum

Fun with HTML entities.

MC

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
Well...

Technically, you should replace both Blum
Just the first will do though.

"If you're not part of the solution, you're part of the precipitate."

dr_Fell
Offline
Last seen: 16 years 2 months ago
Joined: 2008-01-21 06:06
(Yesterday I was in work,

(Yesterday I was in work, machine with java was broken and I was working on my boss'es desktop without Java and without administrative privilleges), Today I installed Java on my box, used Java portabiliser - and everything is working fine now.

My OOOrg files are in H:\2_Programy\OpenOfficePortable and Java is in H:\2_Programy\CommonFiles\Java (I uninstalled Java from my Desktop in order to check if everything is working ok - and it is). My .ini seems to be identical with the old one, so problem indeed could been in the archive.

Thanks for Your help Smile

Log in or register to post comments