top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Upgrade of legacy system from old Java version (1.3/1.4) to latest Java 8?

0 votes
796 views

I wanted to know what are the best practices/process to be followed if we are planning to migrate some legacy code in Java 1.3/1.4 to the latest version ie Java 8.

posted May 15, 2015 by Vikalp Kumar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Lets first see what are the major changes from 1.3 to 1.8 in each version -

Java 8 (a.k.a 1.8)

Language changes:
lambda expressions (JSR 335, includes method handles)
continuation of Project Coin (small language improvements)
annotations on Java types
Library changes:
Improved Date and Time API

Java 7 (a.k.a 1.7)

Language changes:
Project Coin (small changes)
switch on Strings
try-with-resources
diamond operator

Library changes:
new abstracted file-system API (NIO.2) (with support for virtual filesystems)
improved concurrency libraries
elliptic curve encryption
more incremental upgrades

Platform changes:
support for dynamic languages

Java 6 (a.k.a 1.6)

Mostly incremental improvements to existing libraries, no new language features (except for the @Override snafu).

Java 5 (a.k.a 1.5)

Language Changes:
generics (that's the big one)
annotations
enum types
varargs, enhanced for loops (for-each)

Library changes:
concurrency utilities in java.util.concurrent

Java 1.4

Language changes:
the assert keyword

Library changes:
regular expressions support
NIO
integrated XML handling

Now coming to upgrade, Java is backward compatible so ideally you should not face any issue except the enum part which got changed from version 4 to 5 (rename any usages of the new enum keyword in the Java 4 code).

answer May 15, 2015 by Salil Agrawal
Similar Questions
+1 vote

I have an issue to update the git on Mac. I am trying to use this command line to update my git to 2.0.3.

git clone https://github.com/git/git

I currently have git 1.8.4, and I have no idea to remove the older version either. Please help me.

+1 vote

I am running subversion 1.4.2 server with apache 2.2.14 on Linux machine. Now I want to upgrade to subversion 1.8.8 with apache 2.2.25 . Please guide me how to upgrade?

0 votes

I had a quick google and can't find any documentation on rolling upgrade, does anyone know how to upgrade from Hadoop 2.3 to 2.4?

+1 vote

I'd like to upgrade Bugzilla (Windows version) from our actual installed version (3.0.3) to the latest version (4.4.1). Is there a step by step guide I can use to do that ?

+5 votes

I installed Fedora 19 on my laptop, and it worked beautifully with the already installed Windows 8. When I upgraded the Windows 8 to Windows 8.1. Now it boots straight to Windows 8.1 and grub does not appear.

I disabled secure boot in the firmware.

I do not even know which version of grub was booting the UEFI system before; it just worked.

Can anyone suggest:

  1. What grub would the Fedora 19 installer have provided to boot it and Windows 8? (grub2, grub-efi,...)
  2. Can anyone point to any documentation on how to fix this?
...