Skip to main content



      Home
Home » Newcomers » Newcomers » JRE 1.4.2 with Eclipse 3.4?
JRE 1.4.2 with Eclipse 3.4? [message #264769] Thu, 25 September 2008 12:52 Go to next message
Eclipse UserFriend
Hi,

There is conflicting information about whether JRE 1.4.2 is sufficient for
Eclipse 3.4.


The official documentation says YES:


http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.user/tasks/running_eclipse.htm
- mentions only 1.4.2

eclipse/readme/readme_eclipse.html (in the unzipped eclipse
directory)
- "the Eclipse Project SDK as a whole is targeted at both 1.4 and Java5
VMs, with full functionality available for 1.4 level development
everywhere"

http://www.eclipse.org/downloads/moreinfo/jre.php
- implies that, if anything, it depends on whether you use the EE package
or not ("Eclipse IDE for Java EE Developers requires a Java5 JRE").


Whereas other sources say NO:

http://wiki.eclipse.org/Eclipse/Installation
- says that even Eclipse 3.3 (Europa) requires a Java 5 Runtime
Environment, with no mention of whether use of the EE package is a
deciding factor


http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=g et_topic&f=33&t=025009
- says the same: "If your Eclipse version is europa, you need Java 5 JRE"


And for me, when (in Windows XP) I try to use ...

eclipse.exe -vm c:\j2sdk1.4.2_09\bin\javaw

.. I get a window titled "Incompatible JVM" saying ...

"Version 1.4.2-09 of the JVM is not suitable for this product.
Version 1.5 or greater is required"

I click OK and the window goes away, but Eclipse doesn't start.


So which information is correct? And is there any way of bypassing the
incompatibility warning and forcing 3.4 to use 1.4.2?


Thanks,
Peter
Re: JRE 1.4.2 with Eclipse 3.4? [message #264777 is a reply to message #264769] Thu, 25 September 2008 13:34 Go to previous messageGo to next message
Eclipse UserFriend
Peter,

Comments below.

Peter Ford wrote:
> Hi,
>
> There is conflicting information about whether JRE 1.4.2 is sufficient
> for Eclipse 3.4.
>
>
> The official documentation says YES:
>
>
> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.user/tasks/running_eclipse.htm
>
> - mentions only 1.4.2
That's true for the platform.
>
> eclipse/readme/readme_eclipse.html (in the unzipped eclipse
> directory)
> - "the Eclipse Project SDK as a whole is targeted at both 1.4 and
> Java5 VMs, with full functionality available for 1.4 level development
> everywhere"
Yes that's true of the platform.
>
> http://www.eclipse.org/downloads/moreinfo/jre.php
> - implies that, if anything, it depends on whether you use the EE
> package or not ("Eclipse IDE for Java EE Developers requires a Java5
> JRE").
Yes, WTP requires EMF which required Java 5.0.
>
>
> Whereas other sources say NO:
>
> http://wiki.eclipse.org/Eclipse/Installation
> - says that even Eclipse 3.3 (Europa) requires a Java 5 Runtime
> Environment, with no mention of whether use of the EE package is a
> deciding factor
Sounds like an oversight, but again, it's statement about the platform.
>
>
> http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=g et_topic&f=33&t=025009
>
> - says the same: "If your Eclipse version is europa, you need Java
> 5 JRE"
If you use WTP or anything else downstream from EMF you need 5.0...
>
>
> And for me, when (in Windows XP) I try to use ...
>
> eclipse.exe -vm c:\j2sdk1.4.2_09\bin\javaw
>
> . I get a window titled "Incompatible JVM" saying ...
>
> "Version 1.4.2-09 of the JVM is not suitable for this product.
> Version 1.5 or greater is required"
> I click OK and the window goes away, but Eclipse doesn't start.
>
>
> So which information is correct? And is there any way of bypassing
> the incompatibility warning and forcing 3.4 to use 1.4.2?
What projects are you expecting to be able to use? Why would it even
matter I have to wonder too given that 1.4 is close to end of life...
>
>
> Thanks,
> Peter
>
>
Re: JRE 1.4.2 with Eclipse 3.4? [message #264780 is a reply to message #264769] Thu, 25 September 2008 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Peter Ford wrote:
> Hi,
>
> There is conflicting information about whether JRE 1.4.2 is sufficient
> for Eclipse 3.4.
>
>
> The official documentation says YES:
>
>
> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.user/tasks/running_eclipse.htm
>
> - mentions only 1.4.2
>
> eclipse/readme/readme_eclipse.html (in the unzipped eclipse
> directory)
> - "the Eclipse Project SDK as a whole is targeted at both 1.4 and
> Java5 VMs, with full functionality available for 1.4 level development
> everywhere"
>
> http://www.eclipse.org/downloads/moreinfo/jre.php
> - implies that, if anything, it depends on whether you use the EE
> package or not ("Eclipse IDE for Java EE Developers requires a Java5 JRE").
>
>
> Whereas other sources say NO:
>
> http://wiki.eclipse.org/Eclipse/Installation
> - says that even Eclipse 3.3 (Europa) requires a Java 5 Runtime
> Environment, with no mention of whether use of the EE package is a
> deciding factor
>
>
> http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=g et_topic&f=33&t=025009
>
> - says the same: "If your Eclipse version is europa, you need Java 5
> JRE"
>
>
> And for me, when (in Windows XP) I try to use ...
>
> eclipse.exe -vm c:\j2sdk1.4.2_09\bin\javaw
>
> . I get a window titled "Incompatible JVM" saying ...
>
> "Version 1.4.2-09 of the JVM is not suitable for this product.
> Version 1.5 or greater is required"
> I click OK and the window goes away, but Eclipse doesn't start.
>
>
> So which information is correct? And is there any way of bypassing the
> incompatibility warning and forcing 3.4 to use 1.4.2?

Basically, none of those is strictly wrong, but some of them are not
clear or complete. The Eclipse wiki page was too broad a statement, so
I've fixed it. The JavaRanch forum post, well you should take everything
you read on a forum (including this one) with an appropriate grain of
salt and consider the authority of the person writing it. The first two
references above are both correct; it does depend on which plugins you
have installed.
If you are trying to run the Java EE package (with WTP plugins), it
definitely needs Java 5 or JDK 1.5. If you want to keep your installed
package but bypass the Incompatible JVM error, you can try removing this
line from eclipse.ini:
-Dosgi.requiredJavaVersion=1.5

Note that doing so will, at the minumum, disable many or all of the
JEE/WTP specific plugins (because they require Java 5). If you don't
need JEE features, I'd recommend getting the Java Developers package
instead. Or just get a 1.5 JVM/JDK.

Hope this helps,
Eric
Re: JRE 1.4.2 with Eclipse 3.4? [message #264790 is a reply to message #264780] Thu, 25 September 2008 19:19 Go to previous messageGo to next message
Eclipse UserFriend
"Eric Rizzo" <eclipse-news@rizzoweb.com> wrote in message
news:gbgkv7$vod$1@build.eclipse.org...
> Or just get a 1.5 JVM/JDK.

And remember that you can run Eclipse on a 1.5 or 1.6 VM and still target
your development at 1.4 (or even lower platforms).
Re: JRE 1.4.2 with Eclipse 3.4? [message #264805 is a reply to message #264790] Fri, 26 September 2008 14:05 Go to previous messageGo to next message
Eclipse UserFriend
Walter Harley wrote:

> "Eric Rizzo" <eclipse-news@rizzoweb.com> wrote in message
> news:gbgkv7$vod$1@build.eclipse.org...
>> Or just get a 1.5 JVM/JDK.

> And remember that you can run Eclipse on a 1.5 or 1.6 VM and still target
> your development at 1.4 (or even lower platforms).


Yes - you have seen where I wasn't thinking it through properly. I just
assumed that the "-vm" parameter would be the version my Java project(s)
would use.

Ed's post made me consider the issue yesterday and of course now it's
obvious that my project needn't necessarily be on the same Java version as
my Eclipse. (See I really am a newcomer!)

So today I have been trying to start a 1.4.2 project in Eclipse 3.4 on JRE
1.6.


But although I didn't actually need to use "eclipse.exe -vm
c:\j2sdk1.4.2_09", there is still the question of why it wasn't working.
(See my next post.)


Thanks,
Peter
Re: JRE 1.4.2 with Eclipse 3.4? [message #264808 is a reply to message #264780] Fri, 26 September 2008 14:13 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo wrote:

> Peter Ford wrote:
>> Hi,
>>
>> There is conflicting information about whether JRE 1.4.2 is sufficient
>> for Eclipse 3.4.
>>
>>
>> The official documentation says YES:
>>
>>
>>
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.user/tasks/running_eclipse.htm
>>
>> - mentions only 1.4.2
>>
>> eclipse/readme/readme_eclipse.html (in the unzipped eclipse
>> directory)
>> - "the Eclipse Project SDK as a whole is targeted at both 1.4 and
>> Java5 VMs, with full functionality available for 1.4 level development
>> everywhere"
>>
>> http://www.eclipse.org/downloads/moreinfo/jre.php
>> - implies that, if anything, it depends on whether you use the EE
>> package or not ("Eclipse IDE for Java EE Developers requires a Java5 JRE").
>>
>>
>> Whereas other sources say NO:
>>
>> http://wiki.eclipse.org/Eclipse/Installation
>> - says that even Eclipse 3.3 (Europa) requires a Java 5 Runtime
>> Environment, with no mention of whether use of the EE package is a
>> deciding factor
>>
>>
>>
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=g et_topic&f=33&t=025009
>>
>> - says the same: "If your Eclipse version is europa, you need Java 5
>> JRE"
>>
>>
>> And for me, when (in Windows XP) I try to use ...
>>
>> eclipse.exe -vm c:j2sdk1.4.2_09binjavaw
>>
>> . I get a window titled "Incompatible JVM" saying ...
>>
>> "Version 1.4.2-09 of the JVM is not suitable for this product.
>> Version 1.5 or greater is required"
>> I click OK and the window goes away, but Eclipse doesn't start.
>>
>>
>> So which information is correct? And is there any way of bypassing the
>> incompatibility warning and forcing 3.4 to use 1.4.2?

> Basically, none of those is strictly wrong, but some of them are not
> clear or complete. The Eclipse wiki page was too broad a statement, so
> I've fixed it. The JavaRanch forum post, well you should take everything
> you read on a forum (including this one) with an appropriate grain of
> salt and consider the authority of the person writing it. The first two
> references above are both correct; it does depend on which plugins you
> have installed.
> If you are trying to run the Java EE package (with WTP plugins), it
> definitely needs Java 5 or JDK 1.5. If you want to keep your installed
> package but bypass the Incompatible JVM error, you can try removing this
> line from eclipse.ini:
> -Dosgi.requiredJavaVersion=1.5

> Note that doing so will, at the minumum, disable many or all of the
> JEE/WTP specific plugins (because they require Java 5). If you don't
> need JEE features, I'd recommend getting the Java Developers package
> instead. Or just get a 1.5 JVM/JDK.

> Hope this helps,
> Eric


My own particular issue is actually a non-issue, as it turned out that I
was wrong to think I needed to run Eclipse on JRE 1.4.2 (see other post).
But there is still the question of why it wasn't working.


The important thing that I left out of my original post was which package
I was trying to use when I got the error.

It was the Java Developers package - the 85MB zip file.


I note from http://www.eclipse.org/downloads/packages/compare-packages
that even the non-EE package includes Mylyn, and from
http://www.eclipse.org/mylyn/downloads/ that Mylyn seems to require JRE
1.5.

So does that explain why I got the error? And does it mean that the 3
bits of official documentation I listed need updating to say that 1.5 is
the minimum (or to explain how to start Eclipse without Mylyn)?


Thanks,
Peter
Re: JRE 1.4.2 with Eclipse 3.4? [message #264939 is a reply to message #264808] Fri, 26 September 2008 14:56 Go to previous messageGo to next message
Eclipse UserFriend
Peter,

That's a very good point. It looks to me like Eclipse Classic is the
only download that doesn't require Java 5.0. That makes the
recommendation at the top of the page awfully weak. Please open a
bugzilla asking to make the statement more strongly. In fact, there
really ought to be a way to find out the JRE level required for any
particular package, and currently it's guesswork; that's no good. The
other things ought to be fixed up as well. When you open a bugzilla,
please append the bugzilla number to this thread.

Thanks!


Peter Ford wrote:
> Eric Rizzo wrote:
>
>> Peter Ford wrote:
>>> Hi,
>>>
>>> There is conflicting information about whether JRE 1.4.2 is
>>> sufficient for Eclipse 3.4.
>>>
>>>
>>> The official documentation says YES:
>>>
>>>
> http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.user/tasks/running_eclipse.htm
>
>>>
>>> - mentions only 1.4.2
>>>
>>> eclipse/readme/readme_eclipse.html (in the unzipped eclipse
>>> directory)
>>> - "the Eclipse Project SDK as a whole is targeted at both 1.4
>>> and Java5 VMs, with full functionality available for 1.4 level
>>> development everywhere"
>>>
>>> http://www.eclipse.org/downloads/moreinfo/jre.php
>>> - implies that, if anything, it depends on whether you use the
>>> EE package or not ("Eclipse IDE for Java EE Developers requires a
>>> Java5 JRE").
>>>
>>>
>>> Whereas other sources say NO:
>>>
>>> http://wiki.eclipse.org/Eclipse/Installation
>>> - says that even Eclipse 3.3 (Europa) requires a Java 5 Runtime
>>> Environment, with no mention of whether use of the EE package is a
>>> deciding factor
>>>
>>>
> http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=g et_topic&f=33&t=025009
>
>>>
>>> - says the same: "If your Eclipse version is europa, you need
>>> Java 5 JRE"
>>>
>>>
>>> And for me, when (in Windows XP) I try to use ...
>>>
>>> eclipse.exe -vm c:j2sdk1.4.2_09binjavaw
>>>
>>> . I get a window titled "Incompatible JVM" saying ...
>>>
>>> "Version 1.4.2-09 of the JVM is not suitable for this product.
>>> Version 1.5 or greater is required"
>>> I click OK and the window goes away, but Eclipse doesn't start.
>>>
>>>
>>> So which information is correct? And is there any way of bypassing
>>> the incompatibility warning and forcing 3.4 to use 1.4.2?
>
>> Basically, none of those is strictly wrong, but some of them are not
>> clear or complete. The Eclipse wiki page was too broad a statement,
>> so I've fixed it. The JavaRanch forum post, well you should take
>> everything you read on a forum (including this one) with an
>> appropriate grain of salt and consider the authority of the person
>> writing it. The first two references above are both correct; it does
>> depend on which plugins you have installed.
>> If you are trying to run the Java EE package (with WTP plugins), it
>> definitely needs Java 5 or JDK 1.5. If you want to keep your
>> installed package but bypass the Incompatible JVM error, you can try
>> removing this line from eclipse.ini:
>> -Dosgi.requiredJavaVersion=1.5
>
>> Note that doing so will, at the minumum, disable many or all of the
>> JEE/WTP specific plugins (because they require Java 5). If you don't
>> need JEE features, I'd recommend getting the Java Developers package
>> instead. Or just get a 1.5 JVM/JDK.
>
>> Hope this helps,
>> Eric
>
>
> My own particular issue is actually a non-issue, as it turned out that
> I was wrong to think I needed to run Eclipse on JRE 1.4.2 (see other
> post). But there is still the question of why it wasn't working.
>
>
> The important thing that I left out of my original post was which
> package I was trying to use when I got the error.
>
> It was the Java Developers package - the 85MB zip file.
>
>
> I note from http://www.eclipse.org/downloads/packages/compare-packages
> that even the non-EE package includes Mylyn, and from
> http://www.eclipse.org/mylyn/downloads/ that Mylyn seems to require
> JRE 1.5.
>
> So does that explain why I got the error? And does it mean that the 3
> bits of official documentation I listed need updating to say that 1.5
> is the minimum (or to explain how to start Eclipse without Mylyn)?
>
>
> Thanks,
> Peter
>
>
Re: JRE 1.4.2 with Eclipse 3.4? [message #264954 is a reply to message #264939] Sat, 27 September 2008 15:39 Go to previous messageGo to next message
Eclipse UserFriend
"Ed Merks" <Ed.Merks@gmail.com> wrote in message
news:gbjb97$c93$1@build.eclipse.org...
> Peter,
>
> That's a very good point. It looks to me like Eclipse Classic is the only
> download that doesn't require Java 5.0. That makes the recommendation at
> the top of the page awfully weak. Please open a bugzilla asking to make
> the statement more strongly. In fact, there really ought to be a way to
> find out the JRE level required for any particular package, and currently
> it's guesswork; that's no good. The other things ought to be fixed up as
> well. When you open a bugzilla, please append the bugzilla number to this
> thread.

The issue is really kind of trickier than it seems on the surface. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=174515 for a related topic.

I do think that clearer documentation on the web site would help, and I
think we should simply be recommending that people use the newest JVM
version they can, and understand that if they're on a downlevel VM some
functionality may be missing. The way I would put it is: "Most of the
Eclipse core is able to run on Java 1.4.2, but every version of Eclipse
contains some functionality that relies on Java 5 or even Java 6. You may
not need this functionality, depending on what you're doing with Eclipse."

The problem is that describing exactly what functionality is and is not
available on a given VM quickly gets into way more detail than is
appropriate for a downloads page. Someone planning on using Eclipse to edit
PHP scripts shouldn't have to read about the JSR199 API, for instance.

I really think it comes down to the question of how we show that some
functionality is unavailable, without intruding on the experience of people
who don't need that functionality. Unfortunately, that is a very hard
challenge.
Re: JRE 1.4.2 with Eclipse 3.4? [message #265004 is a reply to message #264954] Mon, 29 September 2008 12:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 9/27/2008 3:39 PM, Walter Harley wrote:
> "Ed Merks"<Ed.Merks@gmail.com> wrote in message
> news:gbjb97$c93$1@build.eclipse.org...
>> Peter,
>>
>> That's a very good point. It looks to me like Eclipse Classic is the only
>> download that doesn't require Java 5.0. That makes the recommendation at
>> the top of the page awfully weak. Please open a bugzilla asking to make
>> the statement more strongly. In fact, there really ought to be a way to
>> find out the JRE level required for any particular package, and currently
>> it's guesswork; that's no good. The other things ought to be fixed up as
>> well. When you open a bugzilla, please append the bugzilla number to this
>> thread.
>
> The issue is really kind of trickier than it seems on the surface. See
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=174515 for a related topic.
>
> I do think that clearer documentation on the web site would help, and I
> think we should simply be recommending that people use the newest JVM
> version they can, and understand that if they're on a downlevel VM some
> functionality may be missing. The way I would put it is: "Most of the
> Eclipse core is able to run on Java 1.4.2, but every version of Eclipse
> contains some functionality that relies on Java 5 or even Java 6. You may
> not need this functionality, depending on what you're doing with Eclipse."
>
> The problem is that describing exactly what functionality is and is not
> available on a given VM quickly gets into way more detail than is
> appropriate for a downloads page. Someone planning on using Eclipse to edit
> PHP scripts shouldn't have to read about the JSR199 API, for instance.
>
> I really think it comes down to the question of how we show that some
> functionality is unavailable, without intruding on the experience of people
> who don't need that functionality. Unfortunately, that is a very hard
> challenge.

I actually think the problem in Peter's particular case is that the
"Eclipse IDE for Java Developers" package specifies
"-Dosgi.requiredJavaVersion=1.5" in its eclipse.ini
While I understand that Mylyn requires 1.5, I don't think anything else
that is "crucial" to the Java dev tools does, so it seems to me that
this is an unnnecessary restriction for that package (Mylyn is, IMO,
still an optional piece of functionality that should not prevent the
entire tool from loading).

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=248976 about this.

Eric
Re: JRE 1.4.2 with Eclipse 3.4? [message #265041 is a reply to message #265004] Mon, 29 September 2008 19:38 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo wrote:


> I actually think the problem in Peter's particular case is that the
> "Eclipse IDE for Java Developers" package specifies
> "-Dosgi.requiredJavaVersion=1.5" in its eclipse.ini
> While I understand that Mylyn requires 1.5, I don't think anything else
> that is "crucial" to the Java dev tools does, so it seems to me that
> this is an unnnecessary restriction for that package (Mylyn is, IMO,
> still an optional piece of functionality that should not prevent the
> entire tool from loading).

> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=248976 about this.

> Eric

If bug 174515 is all that happens when Eclipse tries to load in a JRE
that's insufficient for its plugins, then it does seem like it might be
worth making eclipse.ini less fussy - or telling users how to do
themselves it in the documentation.


Anyway, here's my bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=249063


Thanks everyone for your help,
Peter
Re: JRE 1.4.2 with Eclipse 3.4? [message #265051 is a reply to message #265041] Tue, 30 September 2008 05:09 Go to previous message
Eclipse UserFriend
Peter,

Thanks for the taking the time to open a bugzilla!


Peter Ford wrote:
> Eric Rizzo wrote:
>
>
>> I actually think the problem in Peter's particular case is that the
>> "Eclipse IDE for Java Developers" package specifies
>> "-Dosgi.requiredJavaVersion=1.5" in its eclipse.ini
>> While I understand that Mylyn requires 1.5, I don't think anything
>> else that is "crucial" to the Java dev tools does, so it seems to me
>> that this is an unnnecessary restriction for that package (Mylyn is,
>> IMO, still an optional piece of functionality that should not prevent
>> the entire tool from loading).
>
>> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=248976
>> about this.
>
>> Eric
>
> If bug 174515 is all that happens when Eclipse tries to load in a JRE
> that's insufficient for its plugins, then it does seem like it might
> be worth making eclipse.ini less fussy - or telling users how to do
> themselves it in the documentation.
>
>
> Anyway, here's my bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=249063
>
>
> Thanks everyone for your help,
> Peter
>
>
Previous Topic:How to add a Properties View in my RCP
Next Topic:What's the difference between IEditorSite and IEditorPart
Goto Forum:
  


Current Time: Mon Jul 07 09:14:59 EDT 2025

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

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

Back to the top