怎麼識別Oracle客戶端、資料庫、Java在WIN上是多少位的

shuangoracle發表於2012-05-10
好記性不如爛筆頭,今天在現場測試,只裝了客戶端,我想看看到底裝的是多少位的客戶端但是忘了怎麼查幸虧這篇文章還保留著,做個記錄吧。
How to know if Oracle client, DB,or JAVA installed is 32-bit or 64-bit on Windows OS[ID 1318795.1] 
修改時間22-JUL-2011 型別HOWTO 狀態PUBLISHED
In this Document
 Goal
 Solution
Applies to:Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.2.0.2.0 -
Release: 10.1 to 11.2
Microsoft Windows x64 (64-bit)
This Document is more helpful for the environment where you have multiple
ORACLE_HOME's
(mix of 32-Bit & 64-Bit )
installed in the 64-bit windows machine and trying to identify the bit version of
the
 installed oracle software.Goal
How to know on a Windows 64-bit machine whether the installed Oracle software is
32-bit
 or 64-bit?
Also to know the bit version of the java installed in the ORACLE_HOME.
SolutionAnswer
======
Option - 1 (via the perl version)
++++++++++++++++++++++
cd %ORACLE_HOME%\perl\\bin\MSWin32*
perl -version
This is perl, v5.8.3 built for MSWin32-x86-multi-thread ( output for 32-bit
ORACLE_HOME )
This is perl, v5.8.3 built for MSWin32-X64-multi-thread ( output for 64-bit
ORACLE_HOME )
Note: Perl installed according to the bit version of the ORACLE_HOME but not
the OS bit version.
Option -2
To know the bit version of the java installed in the ORACLE_HOME.
+++++++++++++++++++++
Identify Java installed in the ORACLE_HOME
Note:> 32-bit Java will be installed with 32-bit Oracle software & 64 bit with
64-bit Oracle software
Example:
++++++++
For 64-bit ORACLE_HOME should show below:
%ORACLE_HOME%\jdk\bin>java -version
windows下輸入:
D:\oracle\product\10.2.0\db_1\jdk\bin>java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
>>> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_11-b03, mixed mode) <<<<
For 32-bit home should show below:
%ORACLE_HOME%\jdk\bin>java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
>> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode) <<
Note: for 32-bit doesn't shows the bit version
Option -3
++++++++++++++++++
Identify via installation media name
Browse the Software download link for installation media naming convention for
32-bit 64-bit
 (link:refer below)
--&gt http://www.oracle.com/technetwork/database/enterprise-edition/downloads/
index.html
All Oracle software are categorized according to the bit type (i.e 32-bit and
 64-bit)
32-bit media zip file's name starts with win32
i.e
win32_10gR
win32_11gR1
win32_11gR2
So if software is installed with above media then it is a 32-bit ORACLE_HOME
installation.
64-bit media zip file's name starts with win64
win64_10gR
win64_11gR1
win64_11gR2
So if software is installed with above media then it is a 64-bit ORACLE_HOME
installation.
++Example for 32-bit media file names++
11.1.0.6(32-bit)
=========
win32_11gR1_database_1013.zip
win32_11gR1_client.zip
11.2.0.2 (32-bit)
=========
Oracle Database 11g Release 1 (11.2.0.1.0) for Microsoft Windows (32-bit)
Win32_11gR2_database_1of2.zip
win32_11gR2_database_2of2.zip
++Example for 64-bit media file names++
11.1.0.7 (64-bit)
=========
win64_11gR1_database_1013.zip (1,845,398,702 bytes)
win64_11gR1_client.zip (479,383,190 bytes)
11.2.0.1 (64-bit)
=========
win64_11gR2_database_1of2.zip
win64_11gR2_database_2of2.zip
相關內容
產品
Oracle Database Products > Oracle Database > Oracle Database > Oracle Server -
Enterprise Edition
關鍵字
32-BIT; 64-BIT; INSTALLATION; JAVA VERSION; ORACLE SOFTWARE; ORACLE_HOME; VERSION
T; INSTALLATION; JAVA VERSION; ORACLE SOFTWARE; ORACLE_HOME; VERSION

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24496749/viewspace-723296/,如需轉載,請註明出處,否則將追究法律責任。

相關文章