Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Oracle Forms 12c - Compatibility issue with VBean Class in Java 21

ravi sainiApr 17 2025 — edited Apr 21 2025

Hi Oracle Community,

We have an Oracle forms 12c application that integrates with a custom Java web service (JAR).
One of the classes in web service extends ‘oracle.forms.ui.VBean’, and this has been working fine while compiling with Java 8. However, as part of our migration plan, we're compiling the web service with Java 21, and we are facing issue as a method from VBean class has been removed after Java 8. We understand that oracle forms java beans are designed to work with specific java versions, but we would like to know:

1. Is ther any known compatibitliy roadmap for Oracle forms 12c (especially ‘VBean’) with Java 17 or Java 21?

2. Are there any recommended workarounds for using ‘VBean’ or similar functionality in a Java 21 environment?

3. Is there a specific set of Oracle Forms JARs or version that are compatible with higher Java version?

Getting this error while compiling & running using Java 21 => 'Exception in thread "main" java.lang.NoSuchMethodError: 'java.awt.peer.ComponentPeer java.awt.Component.getPeer()'

Any advice, official guidance, or documentation references would be greatly appreciated.

Thanks in advance!
Ravi Saini

Comments
Post Details
Added on Apr 17 2025
4 comments
240 views