Re: compiling for old browsers

"Jonathan Chase" <[email protected]>
Newsgroups gmane.org.user-groups.trijug.juglist
Message-ID <[email protected]>
Kalpesh,

You're right - some of the Java 5 features are not going to work in previous
versions without a little help.

However, like previously mentioned, Retrotranslater will take care of it -
we're actually using this in production in several systems where we have
some APIs written using Java 5 features and running in both 1.4 and 5.0
environments.

Jon

On 5/27/08, Kalpesh Soni <[email protected]> wrote:
>
> I take that back
>
> Looks like 5.0 stuff cannot be made backward compatible!
> :(
>
> javac: source release 1.5 requires target release 1.5
>
> -Kal
>
>
> On 5/27/08, Kalpesh Soni <[email protected]> wrote:
>>
>> using javac -target
>>
>> We should be able to compile a class to whatever version
>> But, keep in mind, if you are using a class that exists only in 1.5 or
>> 1.6, you cant use it else it would give a NoClassDefFoundError?
>>
>> You need only one compiler, but setup eclipse to compile to required class
>> version. (Compiler compliance level)
>>
>> -Kalpesh
>>
>

_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.