Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Mac 10.10 Yossemite with java 8
Mac 10.10 Yossemite with java 8 [message #1446946] Fri, 17 October 2014 14:47 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
I have developed an RCP (3.0) applilcation and it used to run fine in Mac OS 10.9. Recently i have upgraded to Mac OS 10.10. My Java version is 8. Now when i try to run my RCP application it gives me message to install JDK 1.6 in order to run the application. I have seen a bug report https://bugs.eclipse.org/bugs/show_bug.cgi?id=445026
It shows that it is resolved and fixed... it is kind of difficult to understand the fix...

Can you please guide me how to fix this problem....?

Cheers
Re: Mac 10.10 Yossemite with java 8 [message #1449494 is a reply to message #1446946] Tue, 21 October 2014 12:54 Go to previous messageGo to next message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 12
Registered: July 2009
Junior Member
I'm searching for info on this too - I'd like Mac Yosemite users of our app to be able to simply install JRE 8 WITHOUT having to install the Legacy Java SE 6 (scary sounding to some users..)

Really need some clarity here as it's clear as mud!

Why does the RCP .app trigger the message dialog "you need to install the legacy Java SE 6 runtime" ?

I've posted to Bugzilla https://bugs.eclipse.org/bugs/show_bug.cgi?id=419092 which is another Java 6 related one... I actually wanted to post to the one you linked to but I've got 133 browser tabs open mostly trying to find info about this and getting nowhere fast.

I get the problem both with 3.7.1 and 4.4.1 platforms. My app's Info.plist is good I believe, e.g. 3 digit CFBundleVersion.. I think the question boils down this:

- can users run RCP apps on Yosemite just by installing JRE 8 (e.g. u25+) ?
- if yes then what's the trick?
- if no why the hell not?!

Currently I'm guessing the Apple Legacy Java SE 6 installer is setting up something on the machine that isn't initially in place that the JRE 8 installer assumes is there?
Re: Mac 10.10 Yossemite with java 8 [message #1449644 is a reply to message #1449494] Tue, 21 October 2014 16:58 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

At least my eclipse 4.4.0 launch without asking me for a Java6 install.

Tom

On 21.10.14 14:54, Justin Dolezy wrote:
> I'm searching for info on this too - I'd like Mac Yosemite users of our
> app to be able to simply install JRE 8 WITHOUT having to install the
> Legacy Java SE 6 (scary sounding to some users..)
>
> Really need some clarity here as it's clear as mud!
>
> Why does the RCP .app trigger the message dialog "you need to install
> the legacy Java SE 6 runtime" ?
>
> I've posted to Bugzilla
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=419092 which is another
> Java 6 related one... I actually wanted to post to the one you linked to
> but I've got 133 browser tabs open mostly trying to find info about this
> and getting nowhere fast.
>
> I get the problem both with 3.7.1 and 4.4.1 platforms. My app's
> Info.plist is good I believe, e.g. 3 digit CFBundleVersion.. I think
> the question boils down this:
>
> - can users run RCP apps on Yosemite just by installing JRE 8 (e.g. u25+) ?
> - if yes then what's the trick?
> - if no why the hell not?!
>
> Currently I'm guessing the Apple Legacy Java SE 6 installer is setting
> up something on the machine that isn't initially in place that the JRE 8
> installer assumes is there?
Re: Mac 10.10 Yossemite with java 8 [message #1460092 is a reply to message #1449644] Mon, 03 November 2014 07:25 Go to previous message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 12
Registered: July 2009
Junior Member
According the Equinox Launcher docs (https://wiki.eclipse.org/Equinox_Launcher#Exceptions) it seems that launching an RCP app will always trigger Apple's Java 6 install dialog as it's hardcoded to launch using the old executable location.

You have to specify -vm to make it use anything else. However if you point it to the location of JRE 8 it doesn't work! But it does with JDK 8 Razz

See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=449428
Previous Topic:Failed to write core dump. Core dumps have been disabled.
Next Topic:[Compare] Compare Result of compare editor without the UI
Goto Forum:
  


Current Time: Fri Apr 19 23:42:02 GMT 2024

Powered by FUDForum. Page generated in 0.03134 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top