JRockit does not use the -d64 flag, if you use it, JRockit will give an error message.
If you've downloaded and installed
you should have a 64 bit jrockit, there is no 32 bit binary in that package.
If you run
you should see "linux_x86_64" included in the output.
What the setup scripts are doing with your -d64, I don't know.
See also Jrockit on Solris is not starting with the -d64 flag
To specifically check what java version is being used by WebLogic Server, please look for the following message in server log,
"Starting WebLogic Server with Oracle JRockit(R) Version R28.2.0-79-146777-1.6.0_29-20111005-1808-windows-ia32"
####<Jun 12, 2012 2:31:05 PM PDT> <Info> <WebLogicServer> <anon-ldap> <> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1339491665549> <BEA-000000> <Starting WebLogic Server with Oracle JRockit(R) Version R28.2.0-79-146777-1.6.0_29-20111005-1808-windows-ia32 from Oracle Corporation>
From the above message, the Java version indicates if it is a 32-bit JVM OR a 64-bit JVM
Regarding "java -version" output, that is due to the settings of the environment variable, PATH.
Do the following:
1. cd <Domain_Home>/bin
> cd /home/meteo/Oracle/Middleware/user_projects/domains/DomainName/bin
2. Execute setDomainEnv.sh
> . ./setDomainEnv.sh
Note: There are 2 DOTs in above command. The first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory.
3. Now, check the java version by running the command in the same shell
> java -version
Now, you will see the JRockit version that you configured your domain to use.