Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 188984 - Provide better installation experience for users that are not using Java 1.5
Summary: Provide better installation experience for users that are not using Java 1.5
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 2.0 M2   Edit
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: 2.0   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-24 13:41 EDT by Mark Phippard CLA
Modified: 2007-06-19 02:35 EDT (History)
3 users (show)

See Also:


Attachments
mylyn/context/zip (6.36 KB, application/octet-stream)
2007-06-19 02:35 EDT, Mik Kersten CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Phippard CLA 2007-05-24 13:41:52 EDT
Mylar can be installed by an Eclipse user using a pre-1.5 version of Java.  When they restart Eclipse, they just do not see Mylar, which can be confusing.  There are a couple of ways this could potentially be improved:

1)  Somehow prevent installing if they are not on 1.5.

2)  If they do install on something earlier than 1.5, maybe there could be a plug-in that loads successfully, detects this, and provides a UI instructing the user that they need 1.5.  Perhaps show them the version they are using, where the JVM is being loaded from and include some tips on how to control the version of Java that Eclipse uses.
Comment 1 Mik Kersten CLA 2007-05-24 13:59:04 EDT
Tentatively scheduling for 2.0 since Europa will still run on 1.4.  Patch welcome.
Comment 2 Willian Mitsuda CLA 2007-05-25 16:32:46 EDT
IMHO, this is a more general issue and should be handled by platform.
Comment 3 Mark Phippard CLA 2007-05-25 16:34:41 EDT
It definitely should be handled by Platform, but we cannot change the fact that is not.  Mylar users are the ones who will suffer because they will install it, not see any problems and then restart and not find it.

This is a compromise idea to meet the current needs.
Comment 4 Jason van Zyl CLA 2007-06-03 16:03:16 EDT
I switched to 1.4 to fix some bugs in Maven, loaded some new plugins, restarted Eclipse and Mylar was gone. After Eugene poked around for 40 seconds using a VNC on my machine he noticed I was using 1.4 and not 1.5 which is required. I know some of us throwbacks still use 1.4 but it would be nice to have a simple warning. I am still relatively new to using Eclipse on a daily basis but there's no real way I would have known this without scouring mailing lists or reading the website which is kind of crappy.
Comment 5 Mik Kersten CLA 2007-06-05 16:46:21 EDT
Agreed.

Jason: I added you to the CC so that you're updated of when this is completed.
Comment 6 Mik Kersten CLA 2007-06-19 01:42:52 EDT
Jeff: quick question (you only need to read this comment).  We want to have a plug-in with a 1.4 or lower dependency to warn the user that Mylyn requires 1.5 if they installed it on 1.4 (this happens with reasonable frequency, and is likely to happen a lot more as part of Europa/EPP).  So we want to have a plug-in that starts up, checks the JDK version, and if it is less than the minimum execution environment specified by Mylyn to pop up a dialog.  I think that such a checker plug-in could be generally useful to any project depending on 1.5.

The only problem that I see is that we would have to add yet another startup extension (already have 2 in the distro that we can't get rid of).  So I'd really like to avoid another one that has our name on it ;)  Naturally the check would be very quick but I can't think of a way of doing it that does not involve forcing activation via org.eclipse.ui.startup, is there a better way?
Comment 7 Mik Kersten CLA 2007-06-19 02:35:28 EDT
Done via the startup approach.  The aggregate time lost on the startup of millions of installs should still be less than the total time that will be lost by hundreds trying to figure out why something they installed did not show up.  So it seems worth it overall.  If there's a smarter approach we can switch to that.
Comment 8 Mik Kersten CLA 2007-06-19 02:35:31 EDT
Created attachment 71709 [details]
mylyn/context/zip