Class not found error and class format Error in OAF Jdeveloper

I had this problem when doing and Extension I tried to copy the class files from server to my machine and tried to compile it. It was giving me Class not found error. After that tried to import the classes it was giving me as class format error as per the below screenshot.

After some hours of time I was able to find the problem as the compiled versions are of latest version but the jdeveloper was taking the old version of java. I resolved by editing the jdev.conf file in Jdev-R12.2.4\jdevbin\jdev\bin and in that I have commented the version of 1.5 and enabled jdk version 1.8 as shown below.

The Jdk version is that I have already installed in my system and not a preinstalled one. The Instance is oracle apps R12.2.4 Instance.

# Directive SetJavaHome is not required by default, except for the base
# install, since the launcher will determine the JAVA_HOME. On Windows
# it looks in ..\..\jdk, on UNIX it looks in the PATH by default.
# SetJavaHome C:\Java\jdk1.5.0_04
#SetJavaHome C:\Program Files (x86)\Java\jdk1.8.0_172

About pacesettergraam

A good and realistic person

Posted on June 26, 2018, in OAF & Forms, Technical and tagged , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: