It's a good practice to uninstall older versions to avoid any conflicts. However, the Java installer usually handles this automatically.