Issue 99619 - user friendly migration of java settings
Summary: user friendly migration of java settings
Status: ACCEPTED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: 4.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 13:04 UTC by joachim.lingner
Modified: 2013-01-29 21:47 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Simple but not perfect solution. (665 bytes, patch)
2009-03-19 15:33 UTC, pmladek
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Comment 1 pmladek 2009-03-19 15:31:35 UTC
A simple solution might be to automatically look for a valid JRE when the
setting is invalid. I'll attach a patch for this.

Of course, a better solution would be to check whether the currently selected
JRE is still valid according to the updated javavendors.xml.
Comment 2 pmladek 2009-03-19 15:33:25 UTC
Created attachment 61049 [details]
Simple but not perfect solution.
Comment 3 joachim.lingner 2009-03-20 16:35:32 UTC
I am a friend of "simple solutions" :)
A similar change must be done in in the javavm service (stoc), which is
important for windows.

Additionally we need a better string in case no Java is found. For example:

"This version of OpenOffice.org needs a  at least a JRE 5. However, it could not
find one on this machine. Please install one and rerun OpenOffice.org or got to
the options dialog and search youself a suitable JRE"

We need to take care that the string for Mac is different because the options
dialog is in a different menu. Then the specification needs to be updated too.
Comment 4 joachim.lingner 2009-06-17 15:29:01 UTC
.