aspose file tools*
The moose likes Features new in Java 8 and the fly likes Is it ideal to migrate from jdk1.5 to jdk 1.8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Features new in Java 8
Bookmark "Is it ideal to migrate from jdk1.5 to jdk 1.8" Watch "Is it ideal to migrate from jdk1.5 to jdk 1.8" New topic
Author

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

meenakshi sundar
Ranch Hand

Joined: Jun 10, 2008
Posts: 31

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

Joined: Jul 20, 2005
Posts: 10266
    
168

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.

[My Blog] [JavaRanch Journal]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39834
    
  28
You should find your Java5 code works without any changes. You ought to have moved from Java5 years ago.
Richard Reese
author
Ranch Hand

Joined: Jul 13, 2011
Posts: 84
    
    5

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!

Richard Reese
Java 8 New Features: A Practical Heads-Up Guide
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

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.


Groovy
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

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
 
subject: Is it ideal to migrate from jdk1.5 to jdk 1.8