Re: I installed Oracle 11g in my home PC. I am trying to open the

From: Malcolm Dew-Jones <yf110_at_vtn1.victoria.tc.ca>
Date: 12 Jun 2009 09:50:21 -0700
Message-ID: <4a32874d$1_at_news.victoria.tc.ca>



gazzag (gareth_at_jamms.org) wrote:
: On 12 June, 14:36, Shakespeare <what..._at_xs4all.nl> wrote:
: > gazzag schreef:
: >
: >
: >
: >
: >
: > > On 12 June, 01:15, DK <kumardtha..._at_gmail.com> wrote:
: > >> Hi,
: >
: > >> I am new to Oracle. I installed Oracle 11g in my home PC. I am trying
: > >> to open the Oracle SQL developer. It's asking for Java.exe file.
: > >> (Enter the full pathname for java.exe )
: > >> What I need to do? Please advice.
: >
: > >> Thanks,
: > >> DK
: >
: > > Look under =A0${ORACLE_HOME}/jdk/bin too.
: >
: > > HTH
: >
: > > -g
: >
: > Since this is Windows, you should look under %ORACLE_HOME%/jdk/bin.
: >
: > Shakespeare- Hide quoted text -

: Well, if you're going to split hairs, you should look under
: %ORACLE_HOME%\jdk\bin :-)

Windows %ORACLE_HOME% must be new for 11g.

None of my installations have that defined unless I set the value myself.

The oracle provided batch files set it at various stages themselves, but always using setlocal so nothing else sees the value later.

My batch files do the following, which finds the first home in the path.

set oracle_home=
for %%i in (%PATH%) do if %oracle_home%.==. if exist %%i\sqlplus.exe set oracle_home=%%i\..
set oracle_home=%oracle_home:\bin\..=%

$0.10 Received on Fri Jun 12 2009 - 11:50:21 CDT

Original text of this message