Dear Jay,
The first thing I tried was pointing to JDK 1.6 as JDK 1.4 execution environment. It gave me this error message:
Build path specifies execution environment J2SE-1.4. There are no JREs installed in the workspace that are strictly compatible with this environment.
The error did not get resolved no matter what I did until I downloaded and installed JDK 1.4 and configured Eclipse to use it as JDK 1.4 execution environment.
Notes (in case they make a difference):
- My current environment is Eclipse Luna (RCP edition), running using JDK8.
Please
correct me if I'm mistaken or missing something.
On Monday, July 28, 2014 8:51 AM, Jayaprakash Arthanareeswaran <jarthana@xxxxxxxxxx> wrote:
Hello Mohamed,
It's not absolutely required to have
1.4 JRE to get the test projects compiling and running
As a work around, you can simply point
the 1.4 SE execution environment to point it to 1.6 JRE and that should
get rid of the compiler works. And as David rightly pointed out, the tests
can be run with newer versions of JRE already. The bug I raised (440503)
is not a high priority and I only raised it to bring the projects consistent
and up to date.
Regards,
Jay
From:
"Mohamed M. El-Beltagy"
<melbeltagy@xxxxxxxxx>
To:
"Eclipse JDT Core
developers list." <jdt-core-dev@xxxxxxxxxxx>
Date:
07/28/2014 11:04 AM
Subject:
Re: [jdt-core-dev]
Help checking out jdt-core projects
Sent by:
jdt-core-dev-bounces@xxxxxxxxxxx
Actually without the presence of JDK 1.4
(installed and configured as execution environment), the project's won't
compile due to default settings of Eclipse IDE (error on missing execution
environment).
And to get working on the code without altering
any settings (so that environment would be as expected), I downloaded and
installed JDK 1.4 and 1.6 and configured my workspace to refer to them
both in the installed JREs
On Monday, July 28, 2014 8:26 AM, David M
Williams <david_williams@xxxxxxxxxx> wrote:
> Until then, you have to have both
1.4 and 1.6 EE for your tests and JDT/Core project respectively.
And in case it's not obvious, or in case I'm mistaken, this simply means
you need to have the 1.4 and 1.6 (?and 1.5) JDKs installed and defined
in Preferences - Installed JREs, - Execution Environments. And that is
what gives a "good" compile. But to actually run the tests, I'm
guessing, 1.6 is fine. I just wanted to distinguish the difference between
compiling the bundles, and running them.
From: Jayaprakash
Arthanareeswaran <jarthana@xxxxxxxxxx>
To: "Eclipse
JDT Core developers list." <jdt-core-dev@xxxxxxxxxxx>,
Date: 07/28/2014
01:22 AM
Subject: Re:
[jdt-core-dev] Help checking out jdt-core projects
Sent by: jdt-core-dev-bounces@xxxxxxxxxxx
Hello Mohamed,
We appreciate the interest you have shown in contributing to JDT Core!
Hope my answers help you complete your workspace set up:
A#1: I have raised bug 440503 to track this. Until then, you have
to have both 1.4 and 1.6 EE for your tests and JDT/Core project respectively.
A#2: You should be using either the latest 4.5 I build or 4.4 official
build. I have updated the wiki page to reflect the correct information.
A#3: If you want to contribute to Eclipse 4.5 (Mars), you should
be working off master branch. Again, the wiki page has been updated accordingly.
Hope this helps.
Regards,
Jay
From: "Mohamed
M. El-Beltagy" <melbeltagy@xxxxxxxxx>
To: "jdt-core-dev@xxxxxxxxxxx"
<jdt-core-dev@xxxxxxxxxxx>
Date: 07/28/2014
10:16 AM
Subject: [jdt-core-dev]
Help checking out jdt-core projects
Sent by: jdt-core-dev-bounces@xxxxxxxxxxx
On planning to contribute to JDT/Core project and work on a bug that has
been taged as helpwanted; I've checked out the master branch of the JDT/Core
project.
I finally managed to fix all compilation errors I faced during the setup
of the environment to start working.
So, I wanted to update the http://wiki.eclipse.org/JDT_Core_Committer_FAQ
so that new comers wouldn't face the same issues.
My questions are:
Q# 1- This link http://wiki.eclipse.org/JDT_Core_Committer_FAQ
states that the org.eclipse.jdt.core.tests.* projects should be checked
out.
The problem is that these projects require J2SE-1.4 although the JDT/Core
projects themselves have been updated to use JavaSE-1.6 as indicated
by the FAQ page (updated by Stephan.herrmann.berlin.de on 14th June, 2014)
Will the tests projects be updated as well, or the FAQ document should
be updated to include the JDK1.4 also (note I checked out the master branch
and since the upgrade to JDK1.6 is recent, I'm not sure what to expect)?
Q# 2- I've used Eclipse Luna for development as well as the target API
Baseline. I know the FAQ page says to use 3.8. But since there's no Eclipse
3.8, I don't really know what version of Eclipse I should be using.
Also, just to confirm I must use RCP edition, right?
Q# 3. Which branch should I be checking out to use in my case?
Your reply and time reading this email are highly appreciated._______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev
_______________________________________________