May 19th, 2025
3 reactions

Announcing Public Preview of the GitHub Copilot app modernization for Java

Nick Zhu
Senior Program Manager

Modernizing Java applications and migrating to the cloud is often a complex, time-consuming, and fragmented process. GitHub Copilot app modernization for Java is a powerful solution designed to simplify and accelerate your journey to the cloud.

Available now in Public Preview as a single extension pack in the Visual Studio Code Marketplace, GitHub Copilot app modernization for Java provides an intelligent, guided approach to Java upgrades and modernization—automating repetitive tasks, improving consistency, and reducing risk.

Six Core Value Pillars

1.Intelligent Issue Analysis & Recommendation 

Modernization starts with insight. Whether you’re upgrading Java runtime or migrating to Azure, modernization starts with understanding your code. Our tool analyzes your project’s current state and generates a plan, offering context-aware fixes and actionable recommendations from Azure Migrate Application Code Assessment Tool (AppCAT), so you spend less time diagnosing and more time modernizing. AppCAT is also available as a stand-alone CLI tool. See AppCAT for Java to learn more. 

Intelligent analysis and recommendation

2.Expert-led Code Transformation

Once plan is generated, GitHub Copilot App Modernization for Java is a powerful code transformation engine that combines expert-led migration strategies and automated Java upgrade. Whether you’re moving from Java 8 to Java 21 or re-platforming for Azure services, Copilot applies structured changes with precision. 

For cloud modernization scenarios, it offers predefined AI-powered formulas that encode proven migration strategies. These formulas apply expert knowledge to common Java-to-Azure scenarios with high accuracy. Currently supported formulas include secret management, message queue integration, identity, and more. See the predefined formulas page for a full list.

For Java upgrades, the extension execute tools like OpenRewrite to apply code transformations, dynamically resolve build issues, and run test validations — ensuring a smooth, error-free upgrade process.

Expert-led code transformation

3.Automation Through Learning 

Beyond predefined strategies, developers can capture their own migration logic into custom reusable formulas. This is done by converting Git commits into structured migration patterns—allowing teams to scale and reuse learned remediations across multiple codebases with accuracy and consistency.

Custom formulas can be created from one or more commits, provided they accurately reflect the intended coding behaviors. The example below combines previous code changes from local file to Azure Blob and RabbitMQ to Azure Service Bus into one powerful, all-encompassing formula, and executes it against my current project.

Automation through Learning

4.Automatic Error Fixing

Modernization isn’t complete until your application successfully builds. GitHub Copilot App Modernization for Java helps resolve issues automatically and performs test validations, ensuring error-free transformations and keeping your production pipelines running smoothly. 

GitHub Copilot app modernization for Java automatically fixes errors

5.Post-upgrade CVE and Code Inconsistency Validation

The GitHub Copilot App Modernization for Java scans for CVE vulnerabilities and code inconsistencies after the upgrade process is completed. When such issues are detected, the tool automatically fixes the issues within the Agent Mode, allowing the user to review the fixes. This improves the application’s security posture and ensures compliance with organizational guidelines. 

GitHub Copilot app modernization checks for CVE issues and address them

6.Automated Deployment to Azure 

When you’re ready, GitHub Copilot for Azure helps facilitate automated deployment to Azure, completing the app modernization process. When the Copilot agent is requested to deploy your application, it creates the required Infrastructure as Code files, deploys the application, addresses any deployment errors encountered, and sets up CI/CD pipelines. GitHub Copilot for Azure is a separate extension today and efforts are underway to integrate it with GitHub Copilot App Modernization for Java.

 

What our customers are saying 

Customer quote from Ford

Partnership between CHT and Microsoft

Install Extension Pack

To use all features mentioned above, please download and install Extension Pack for GitHub Copilot app modernization for Java.

Get Started Today  

 

 

 

Author

Nick Zhu
Senior Program Manager

Developer at heart

0 comments