Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » run a Java-6-RCP-app with a Java-5-JRE?
run a Java-6-RCP-app with a Java-5-JRE? [message #466642] Mon, 23 April 2007 15:45 Go to next message
Eclipse UserFriend
Originally posted by: unidad.gmx.net

Hi!

I've developed a standalone-RCP-Application
with Java 6.0.

So I've the binary relase of my "product".
Is there a way to transform this binary release, so that it runs with a
Java-5.0-JRE or even a Java-1.4.2-JRE?

Regards, Ralf
Re: run a Java-6-RCP-app with a Java-5-JRE? [message #466651 is a reply to message #466642] Tue, 24 April 2007 04:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vedantaulises.gmail.com

Hi,,
do you use java 6.0 features that is not in java 1.4 (or lower version of 6.0)?

You could do the check by recompiling them with 1.4
Re: run a Java-6-RCP-app with a Java-5-JRE? [message #466730 is a reply to message #466651] Tue, 24 April 2007 10:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: unidad.gmx.net

Vedanta Ulises schrieb:
> Hi,,
> do you use java 6.0 features that is not in java 1.4 (or lower version of 6.0)?
>
> You could do the check by recompiling them with 1.4

Yes I do!

So, the byte-code 6.0 is not compatibel with a 1.4-JRE?
Re: run a Java-6-RCP-app with a Java-5-JRE? [message #466767 is a reply to message #466730] Tue, 24 April 2007 15:14 Go to previous message
Olivier Thomann is currently offline Olivier ThomannFriend
Messages: 518
Registered: July 2009
Senior Member
Ralf Maurer a écrit :
> So, the byte-code 6.0 is not compatibel with a 1.4-JRE?
This is true for all versions. Once you compiled with a target, you
cannot run on a lower target since the major/minor version relative to
the target you used to generate the code is incompatible with lower JREs.
This is unrelated to the source you are compiling. Even if you don't use
any of the 1.6/1.5 features, if you compile with the target 1.6, your
generated .class files won't run on a 1.4 VM.
--
Olivier
Previous Topic:Editor folding
Next Topic:Re: Excited about Eclipse Forms in 3.3M5 - Porting EditorPart to FormEditor
Goto Forum:
  


Current Time: Wed Sep 25 00:28:19 GMT 2024

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

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

Back to the top