Go Back   Rhinocerus > Newsgroup > Newsgroup comp.databases.oracle.server

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-12-2009, 12:15 AM
DK
Guest
 
Posts: n/a
Default I installed Oracle 11g in my home PC. I am trying to open the OracleSQL developer. It's asking for Java.exe file. (Enter the full pathname forjava.exe ) What I need to do? Please advice.

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
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 06-12-2009, 09:02 AM
gazzag
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open theOracle SQL developer. It's asking for Java.exe file. (Enter the full pathnamefor java.exe ) What I need to do? Please advice.

On 12 June, 01:15, DK <kumardtha...@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


Do you have the Java Development Kit (JDK) installed on your PC? You
might have downloaded it with SQL Developer. Oracle offers two SQL
Developer downloads, one includes the JDK, one doesn't.

Assuming you have the JDK on your computer, you need to find the
java.exe file and point SQL Developer at that. For example, mine is::

C:\Program Files\sqldeveloper\jdk\jre\bin\java.exe

HTH

-g
Reply With Quote
  #3 (permalink)  
Old 06-12-2009, 09:08 AM
Mladen Gogala
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open theOracleSQL developer. It's asking for Java.exe file. (Enter the full pathname forjava.exe ) What I need to do? Please advice.

On Thu, 11 Jun 2009 17:15:40 -0700, DK wrote:

> 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.


Have you tried entering the full pathname for java.exe?



--
http://mgogala.freehostia.com
Reply With Quote
  #4 (permalink)  
Old 06-12-2009, 12:37 PM
gazzag
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open theOracle SQL developer. It's asking for Java.exe file. (Enter the full pathnamefor java.exe ) What I need to do? Please advice.

On 12 June, 01:15, DK <kumardtha...@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 ${ORACLE_HOME}/jdk/bin too.

HTH

-g
Reply With Quote
  #5 (permalink)  
Old 06-12-2009, 01:36 PM
Shakespeare
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open theOracle SQL developer. It's asking for Java.exe file. (Enter the full pathnamefor java.exe ) What I need to do? Please advice.

gazzag schreef:
> On 12 June, 01:15, DK <kumardtha...@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 ${ORACLE_HOME}/jdk/bin too.
>
> HTH
>
> -g


Since this is Windows, you should look under %ORACLE_HOME%/jdk/bin.

Shakespeare
Reply With Quote
  #6 (permalink)  
Old 06-12-2009, 01:56 PM
gazzag
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open theOracle SQL developer. It's asking for Java.exe file. (Enter the full pathnamefor java.exe ) What I need to do? Please advice.

On 12 June, 14:36, Shakespeare <what...@xs4all.nl> wrote:
> gazzag schreef:
>
>
>
>
>
> > On 12 June, 01:15, DK <kumardtha...@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 *${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 :-)

HTH

-g


Reply With Quote
  #7 (permalink)  
Old 06-12-2009, 04:50 PM
Malcolm Dew-Jones
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open the

gazzag (gareth@jamms.org) wrote:
: On 12 June, 14:36, Shakespeare <what...@xs4all.nl> wrote:
: > gazzag schreef:
: >
: >
: >
: >
: >
: > > On 12 June, 01:15, DK <kumardtha...@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

Reply With Quote
  #8 (permalink)  
Old 06-12-2009, 04:58 PM
John Hurley
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open the

On Jun 12, 12:50*pm, yf...@vtn1.victoria.tc.ca (Malcolm Dew-Jones)
wrote:

snip

> Windows %ORACLE_HOME% must be new for 11g. *


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


Some operating systems are more sensitive to case ( lower/upper ) than
other ones.

Reply With Quote
  #9 (permalink)  
Old 06-12-2009, 06:56 PM
Malcolm Dew-Jones
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open the

John Hurley (johnbhurley@sbcglobal.net) wrote:
: On Jun 12, 12:50=A0pm, yf...@vtn1.victoria.tc.ca (Malcolm Dew-Jones)
: wrote:

: snip

: > Windows %ORACLE_HOME% must be new for 11g. =A0

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

: Some operating systems are more sensitive to case ( lower/upper ) than
: other ones.

uh, yes, but the above is for Windows which doesn't care about case.

I have never seen an oracle install on windows which resulted in an
environment variable called ORACLE_HOME being available (upper or lower
case). If you wish to write a general purpose batch file that runs on
Windows that references the oracle home then it has to find it itself.

The one environment variable that is always set up by the Windows oracle
install is PATH, and the home can be determined from that.

The things installed by Oracle in Windows (batch files, short cuts, etc)
all have the path hard coded into them.

Anyway, perhaps that has changed in 11g.

Reply With Quote
  #10 (permalink)  
Old 06-12-2009, 07:21 PM
John Hurley
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open the

On Jun 12, 2:56*pm, yf...@vtn1.victoria.tc.ca (Malcolm Dew-Jones)
wrote:

snip

> : > Windows %ORACLE_HOME% must be new for 11g. =A0
>
> : > set oracle_home=3D
> : > for %%i in (%PATH%) do if %oracle_home%.=3D=3D. if exist %%i\sqlplus.exe =
> : set
>
> : Some operating systems are more sensitive to case ( lower/upper ) than
> : other ones.
>
> uh, yes, but the above is for Windows which doesn't care about case.
>
> I have never seen an oracle install on windows which resulted in an
> environment variable called ORACLE_HOME being available (upper or lower
> case). *If you wish to write a general purpose batch file that runs on
> Windows that references the oracle home then it has to find it itself.
>
> The one environment variable that is always set up by the Windows oracle
> install is PATH, and the home can be determined from that.
>
> The things installed by Oracle in Windows (batch files, short cuts, etc) *
> all have the path hard coded into them.
>
> Anyway, perhaps that has changed in 11g.


Could be I don't really do anything with oracle on windows.

I was trying to point out that the comment someone made about
ORACLE_HOME on windows could easily have also meant oracle_home since
windows is not case sensitive ... guess I did a bad job in attempting
to point that out.
Reply With Quote
  #11 (permalink)  
Old 06-12-2009, 07:50 PM
Shakespeare
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open theOracle SQL developer. It's asking for Java.exe file. (Enter the full pathnamefor java.exe ) What I need to do? Please advice.

gazzag schreef:
> On 12 June, 14:36, Shakespeare <what...@xs4all.nl> wrote:
>> gazzag schreef:
>>
>>
>>
>>
>>
>>> On 12 June, 01:15, DK <kumardtha...@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 ${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 :-)
>
> HTH
>
> -g
>
>

aaaaaaaaaaaarrrrrrrrrgh... luckily Windows Server understands the / as
well.....

Shakespeare
Reply With Quote
  #12 (permalink)  
Old 06-12-2009, 07:56 PM
Shakespeare
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open the

John Hurley schreef:
> On Jun 12, 2:56 pm, yf...@vtn1.victoria.tc.ca (Malcolm Dew-Jones)
> wrote:
>
> snip
>
>> : > Windows %ORACLE_HOME% must be new for 11g. =A0
>>
>> : > set oracle_home=3D
>> : > for %%i in (%PATH%) do if %oracle_home%.=3D=3D. if exist %%i\sqlplus.exe =
>> : set
>>
>> : Some operating systems are more sensitive to case ( lower/upper ) than
>> : other ones.
>>
>> uh, yes, but the above is for Windows which doesn't care about case.
>>
>> I have never seen an oracle install on windows which resulted in an
>> environment variable called ORACLE_HOME being available (upper or lower
>> case). If you wish to write a general purpose batch file that runs on
>> Windows that references the oracle home then it has to find it itself.
>>
>> The one environment variable that is always set up by the Windows oracle
>> install is PATH, and the home can be determined from that.
>>
>> The things installed by Oracle in Windows (batch files, short cuts, etc)
>> all have the path hard coded into them.
>>
>> Anyway, perhaps that has changed in 11g.

>
> Could be I don't really do anything with oracle on windows.
>
> I was trying to point out that the comment someone made about
> ORACLE_HOME on windows could easily have also meant oracle_home since
> windows is not case sensitive ... guess I did a bad job in attempting
> to point that out.


Indeed, Oracle on Windows does not install any environment variable
named ORACLE_HOME (both name and value case insensitive by the way).
Strange enough, some utilities demand that ORACLE_HOME has been set. But
in the case of the OP, I just meant to look for his .exe file in the
oracle home directory, and most Windows users who are not familiar to
Unix/Linux do not understand the $ORACLE_HOME notation, but do recognize
%ORACLE_HOME%.

Shakespeare
Reply With Quote
  #13 (permalink)  
Old 06-15-2009, 11:16 AM
gazzag
Guest
 
Posts: n/a
Default Re: I installed Oracle 11g in my home PC. I am trying to open the

On 12 June, 17:50, yf...@vtn1.victoria.tc.ca (Malcolm Dew-Jones)
wrote:
> 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


Malcolm, you are quite right. I meant the Windows registry entry
ORACLE_HOME not an environment variable. I didn't make that clear in
my posts.

Cheers,

-g
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 08:54 AM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.