I've been involved with ERP systems developed in COBOL in the past.
To rewrite everything from COBOL to Java "in months" would be a risky mistake.
It will take years of careful development and testing side-by-side with the existing COBOL system.
It will most likely need middleware until the system is completely converted over to a Java system.