MedicineMan
MedicineMan

Reputation: 15314

Update Legacy Project from JVM 1.6 to 1.8

I have to update my legacy project from JVM 1.6 to 1.8. Obviously, I'll need to make some changes like install JVM 1.8 on the server that the code will run. My project is Java based.

links:

Upvotes: 0

Views: 1871

Answers (1)

PKR
PKR

Reputation: 228

  • Just compile using jdk 1.8 and check for any warnings about deprecated methods.
  • Java 8 introduces lots of features like lambda streams..etc, try to enhance your code wherever required. (its not mandatory though)
  • Always good to use latest dependencies
  • No changes are required to start bash scripts
  • Since youare migrating from java 6 to java , you could use try with resource feature which is introduced in java 7.

Try to enhance your code wherever it is applicable. Good luck

Upvotes: 1

Related Questions