Wednesday, April 9, 2014

Java software installed is 32 bit or 64 bit?

There are times that you login to a server with an already installed JDK and you have to know if this is a 32-bit or a 64-bit JDK.
My recommended procedure to find it out is to run in a CLI this command:
$> java -d64 -version
You can run this command on 32-bit and 64-bit JDKs, but it produces different result, where you can understand which kind of JDK you are using.
 

Here is a sample output:
32-bit JDK
$java -d64 -version Running a 64-bit JVM is not supported on this platform
 
64-bit JDK
$java -d64 -version java version "1.6.0_31" Java(TM) SE Runtime Environment (build 1.6.0_31-b05) Oracle JRockit(R) (build R28.2.3-13-149708-1.6.0_31-20120327-1523-linux-x86_64, compiled mode)

When you running it on a 32-bit JDK, the command is not supported, so you get an error message. While when running it on 64-bit JDK you get the information of the installed JDK.
This method works both with HotSpot and JRockit JVMs, but it is only supported on Linux and Solaris.

Forms Issue in R12 --- Application Blocked by Security Settings

Forms issue in R12 Oracle Applications
Java at the server side: Java7u45
JRE on the Client Desktop: JRE7u45/JRE7u51

Case 1:
Issue Reported.
Got with error below when try to access forms soon after logging into Oracle Applications.


Please implement below steps, to overcome the issue.

1.    Go to Control Panel.    Start --> Control Panel
2.    Select Java (Java Control Panel) from the list. 

3.    Once you have opened the “Java Control Panel”, click on the “Security” tab. Change the Java security from “High” to “Medium” by moving the pointer to “Medium". Then hit Apply and OK.

4.    Close all the browser sessions, launch browser and try to access Oracle Applications again.

------------------------------------------------------------------------------------ 
Case 2:
Issue Reported.
Got with error below soon after logging into the Oracle Applications.
 

Solution:
The users where experiencing this change soon after the Java Upgrade on the Application Tier.

Go to the Java Control Panel (On Windows Click Start and then Configure Java)
Click on the Security tab
Click on the Edit Site List button
Click Add in the Exception Site List window
Click OK