Tuesday, October 29, 2013

Command to find Oracle ADF/Jdeveloper version

Question:

How to find out the version of ADF or JDeveloper installed particularly after an upgrade of ADF/ADR

Weblogic version: 11g

Solution:


Navigate to MW_HOME/oracle_common/modules/oracle.adf.model_11.1.1  location

Use the command as follows from the shell/cmd

java -cp adfm.jar oracle.jbo.common.PrintVersion

We would get an output similar to the one below

BC4J Version is:  11.1.2.64.36

Another method:

1. Navigate to ADF Home folder (cd $MW_HOME/oracle_common) and search for adf-share-support.jar file.
  
   Eg: find . -name adf-share-support.jar 
       ./modules/oracle.adf.share_11.1.1/adf-share-support.jar

2. Move to the file's folder and copy the file to the user's Home folder.

   Eg: cp adf-share-support.jar $HOME/

3. Extract the contents of the jar file
   
   Eg: cd $HOME
        jar -xf adf-share-support.jar

   The above command extracts the jar file to a folder named META-INF


4. Move to META-IN and read the file MANIFEST.MF
   
   cat MANIFEST.MF

   Look for Oracle version and label in the file we opened
   Oracle-Version: 11.1.2.4.39.64.36.1

   Oracle-Label: JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1


3 comments:

  1. Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle ADF .
    Actually, I was looking for the same information on internet for
    Oracle ADF Interview Questions and Answers/Tips and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject.

    ReplyDelete