Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 610 Vote(s) - 3.46 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there still a good reason to support JDK 1.4?

#1
I'm looking at putting together an opensource project in Java and am heavily debating not supporting JDKs 1.4 and older. The framework could definitely be written using older Java patterns and idioms, but would really benefit from features from the more mature 1.5+ releases, like generics and annotations.

So really what I want to know is if support for older JDKs is a major determining factor when selecting a framework?

Understandably there are legacy systems that are stuck with older JDKs, but logistics aside, does anyone out there have a compelling technical reason for supporting 1.4 JDKs?

thanks,

steve
Reply

#2
Is it possible that someone might want to use it on a Blackberry or similar mobile device? I don't believe they generally support 1.5.
Reply

#3
We have customers who have only 1.4 installed (AS/400) and where it is an immense burdensome task to have a newer JVM installed. So, I am one of those who would consider Java 1.4 compatability important.

Note: This can most likely be achieved with Retrotranslator after compilation. You would then do all your tests both with a Java 1.5 with the original jars, and a Java 1.4 with the translated jars.

[To see links please register here]

Reply

#4
JDK 1.4 went out of support from Sun back in Oct 2008. The only reasons I can think of why you should support your software running on an out-of-support JVM would be backwards compatibility and a customer base that still depended heavily on it.

Reply

#5
I can't think of any technical reason to stick with 1.4 compatibility for mainstream Java with the possible exception of particular mobile or embedded devices (see discussion on Jon's answer). Legacy support has to have limits and 1.5 is nearly 5 years old. The more compelling reasons to get people to move on the better in my opinion.

Update (I can't sleep): A good precedent to consider is that [Spring 3 will require Java 5 (pdf)][1]. Also consider that the lot of the servers that the larger corporations are using are, or will soon be, EOL ( WAS 5.1 is out of support [since Sep '08][2], JBoss 4.0 support [ends Sep '09][3]) and that Java 1.4 itself is [out of support since Oct '08][4].


[1]:
[2]:

[To see links please register here]

[3]:

[To see links please register here]

[4]:

[To see links please register here]

Reply

#6
I think it depends on what your project is. We have a client that still uses J2SE 1.4 (JRun, WebSphere 6).

While none of our clients are on J2SE 1.3, we have a few core components that we try to maintain J2SE 1.3 compatibility on (really basic, highly re-usable stuff).

That said, this may not be an issue. For our client, we were able to use some J2SE 1.5 compiled libraries by running the JAR/classes through [Retroweaver][1].


[1]:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through