You are here

Cannot get OpenOffice to use CommonFiles/Java

5 posts / 0 new
Last post
d_mon
Offline
Last seen: 16 years 9 months ago
Joined: 2007-08-27 14:56
Cannot get OpenOffice to use CommonFiles/Java

Hi guys,
First of all, I know that people have reported this problem before and I've read ALL the posts regarding this issue. However...it just doesn't recognized the portable java. It needs to be pointed towards it from the "tools-options". The java on my stick is 1.5.0_12 and the one installed on computer is 1.6.0_03.
I did everything that John & others have suggested to the guys that had this problem in the previous posts, but...it just doesn't work for me!What the heck is going on?

Any suggestions will be highly appreciated.
Thanks a lot!

D.

P.S. It didn't work in any of the versions of openoffice (2.2 and the latest 2.3.1).

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 47 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Steps

If I recall correctly, you were making it way more complicated than it needed to be last time by mucking about in Options windows and trying to customize things before you even got it working Smile so follow these exactly:

1. Install a fresh copy of OpenOffice.org Portable to X:\PortableApps\OpenOfficePortable being sure to delete whatever is already there (do NOT start it up)
2. Use the Java Portablizer to install Java to X:\PortableApps\CommonFiles\Java (don't do it manually, let the portablizer do it and correctly setup the INI file)
3. Launch OpenOffice.org Portable and start the letter wizard under the file menu

Note: Do not at any time enter the Options window within OpenOffice.org or make any customizations. Just follow the exact steps outlined above.

Sometimes, the impossible can become possible, if you're awesome!

d_mon
Offline
Last seen: 16 years 9 months ago
Joined: 2007-08-27 14:56
Thanks John!

Thanks for your quick reply John!
I think you are confusing me with another PortableApps user. I've read that thread as well (trying to find a solution for my problem) :). I didn't touch and modify any options.And I tried with the fresh version that you just posted.
However, based on your troubleshooting steps that you suggested there is one thing that I think I might have done wrong: put the java in the commonfiles folder manually (honestly I don't remember exactly). I'll delete it and use the portabilizer.
I have one question however: as far as I know...the new version (that I have on my computer: 1.6.0_03) is not compatible with older op systems (e.g. win98) but the 1.5.0_xx is (I wanted compatibility with '98 as well). Which version of java would you recommend making portable?
Thanks a lot for your help and especially THANKS for your marvelous work with PortableApps!

D.

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 47 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
javaportable.ini

Yeah, if the javaportable.ini isn't right or some files are in the wrong place, it won't work. So, try the portablizer first to ensure it's correct. Then if you want to swap 1.5 in, you can... just make sure it's setup the same way.

Sometimes, the impossible can become possible, if you're awesome!

tanisthalon
tanisthalon's picture
Offline
Last seen: 3 years 12 months ago
Developer
Joined: 2006-02-11 08:02
Odd

I used the JavaPortablizer and everything set up fine but it wouldn't run Java. I tried numerous times with and without the ini file that was created with the portablizer, just to be sure I wasn't overdoing something.

So I copied the binaries from the CommonFiles folder that was created into the Java folder in OOPortable and it works absolutely fine.

This is the ini that was created:
[JavaPortable]
Vendor=Sun Microsystems Inc.
Version=1.6.0_03
URL=http://java.sun.com/

Edit:
Bizarre.

I removed the files from Java in OOP and ran it to see if Java works again today and it all works fine. I did the same thing yesterday and it didn't. No idea why but I have tried a few times changing between CF and OOP and its all good to go.

Dell XPS M1530 Laptop
Intel Core 2 Duo T9300 2.5GHz
4GB Ram
256MB GeForce 8600M GT

Log in or register to post comments