Issue 124442 - Mac and Java Oracle 1.7
Summary: Mac and Java Oracle 1.7
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 4.1.0-beta
Hardware: Mac Mac OS X, all
: P3 Normal (vote)
Target Milestone: 4.1.1
Assignee: jsc
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-16 11:07 UTC by papayes
Modified: 2017-05-20 10:35 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 4.1.0_release_blocker+


Attachments
Impossible to keep the activation of java 1.7 (61.25 KB, image/png)
2014-03-16 11:07 UTC, papayes
no flags Details
proposed simple fix (549 bytes, patch)
2014-03-17 14:30 UTC, jsc
hdu: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description papayes 2014-03-16 11:07:06 UTC
Created attachment 82873 [details]
Impossible to keep the activation of java 1.7

Hello,
OSX 10.9.2
I hoped with AOO 4.1 beta 1573601 finally see the java 1.7.0_51 be enabled.
If this version is displayed, only the apple version 1.6 can be activated.
What's going on?
Comment 1 jsc 2014-03-17 12:52:42 UTC
the selection is stored correct in the users java settings but it is not reflected in the option dialog.

I found a simple fix for MacOS only that solve this issue. I would like to request the showstopper flag for this.
The fix is not critical, macos only but it increase the user experience a lot. Current behaviour is very confusing for users.
Comment 2 jsc 2014-03-17 14:30:36 UTC
Created attachment 82885 [details]
proposed simple fix

simple fix to show the selected Java in the options dialog. It's a MacOS only fix.
Comment 3 jsc 2014-03-17 14:32:21 UTC
the whole Java search mechanism should be reworked and improved. For example to find automatically installed JDKs on MacOS.
Comment 4 hdu@apache.org 2014-03-17 15:32:59 UTC
Comment on attachment 82885 [details]
proposed simple fix

+1: a nice fix for AOO410 final to solve the problem introduced by the magic done in jvmfwk/source/elements.cxx for the nRequirements setting on MACOSX. Both locations should should be cleaned up after the release.
Comment 5 jsc 2014-03-17 16:13:20 UTC
grant showstopper flag after review
Comment 6 jsc 2014-03-18 08:30:27 UTC
fixed on AOO410 branch and trunk merged on trunk
Comment 7 SVN Robot 2014-03-18 12:13:14 UTC
"jsc" committed SVN revision 1578449 into branches/AOO410:
#124442# special handling of nRequirements flag on MacOS when comparing JavaInfo
Comment 8 SVN Robot 2014-03-18 12:13:26 UTC
"jsc" committed SVN revision 1578778 into trunk:
#124442# merge from beta branch, special handling of nRequirements flag on Ma...
Comment 9 SVN Robot 2014-03-18 12:13:55 UTC
"jsc" committed SVN revision 1578778 into trunk:
#124442# merge from beta branch, special handling of nRequirements flag on Ma...
Comment 10 hdu@apache.org 2014-04-03 14:32:02 UTC
Verified on the AOO410 release candidate.
Comment 11 papayes 2014-04-04 13:37:01 UTC
Hello,

The new version of AOO 4.1.0 RC just released on April 1st 
not only the java version 1.7.up51 is displayed correctly now,
but Java 1.8.0 version is also functional.
Thank you very much for your response.
Comment 12 SVN Robot 2014-06-12 15:01:23 UTC
"jsc" committed SVN revision 1602196 into branches/AOO410:
#124442# adapt build script to work on macos 10.9.3 and Java 7
Comment 13 SVN Robot 2014-06-16 08:22:44 UTC
"jsc" committed SVN revision 1602821 into branches/AOO410:
#124442# adapt patch to make it buildable