logo       

R: R: R: Checking Java version?: msg#00468

gis.jump.devel

Subject: R: R: R: Checking Java version?

Sheee...!!! You're right!!! I got this wrong!!!

You _can_ compile with 1.5 and run with 1.4 _only_ if you
don't use any 1.5 specific construct (like generics).

I never used any of those and so I never had to care
about source and target versions.

I remember an old article about Java 1.5 where they said
it was possibile to use new construct because they're only
"sintactic sugar", but it seems I remember wrong...

Sorry for the confusion!!!

Bye
Paolo Rizzi


> -----Messaggio originale-----
> Da: jump-pilot-devel-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:jump-pilot-devel-bounces@xxxxxxxxxxxxxxxxxxxxx]Per conto di
> Andreas Schmitz
> Inviato: martedì 25 settembre 2007 13.15
> A: List for discussion of JPP development and use.
> Oggetto: Re: [JPP-Devel] R: R: Checking Java version?
>
>
> P.Rizzi Ag.Mobilità Ambiente wrote:
>
> Hello,
>
> > I'm not talking about compiling but about running.
> > If you have a Java class file compiled with 1.5
> > you can run it with 1.4 (AFAIK, at least).
>
> The problem is that you can only compile 1.5 Source to 1.5 target. An
> 1.4-JRE naturally does not support 1.5.
>
> Best regards, Andreas
> --
> l a t / l o n GmbH
> Aennchenstrasse 19 53177 Bonn, Germany
> phone ++49 +228 18496-11 fax ++49 +228 1849629
> http://www.lat-lon.de http://www.deegree.org
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise