Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it ideal to migrate from jdk1.5 to jdk 1.8

 
meenakshi sundar
Ranch Hand
Posts: 68
Python Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some time we have been thinking to migrate from jdk1.5 to jdk 1.8 for performance reasons
Would that be an ideal thing to do in your opinion?Have you dealt with this kind of scenario in your book?

Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which specific performance reasons do you have in mind? JDK 1.5 (and even 1.6) is EOLed long back, so it's ideal to move to Java 8 if that's an option. Or at the very least Java 7.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47288
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should find your Java5 code works without any changes. You ought to have moved from Java5 years ago.
 
Richard Reese
author
Ranch Hand
Posts: 84
5
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Meenakshi,

The book does not cover migration issues. However, I would recommend identifying those features in the newer versions of Java your application domain could benefit from, learn them, and find out the best way of applying them. While 1.5 is old, it is not as bad as one company I know which is still using Basic. And I don’t mean Visual Basic!
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think we can get any performance benefit just by moving from java 5 to java 8. We will have to look at code if newer and better performant APIs are available.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry I was wrong. There have been perfomance improvements in Hotspot JVM and newer garbage collection algorithms in java 7 and I beleive that they will also be available in java 8.

http://www.infoq.com/news/2010/01/java6u18/

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic