7 Replies Latest reply on Sep 23, 2013 3:04 PM by TuBong

    SQL Developer requires java path

    TuBong

      Hi Experts,

       

      I have sql developer installed with Oracle 11g but when I open, it asks for full java path. I have java jre7 in Program Files but it said "cannot find a J2SE SDK installed".

       

      I need to practice sql developer, please help.

      Thanks,

      T

        • 1. Re: SQL Developer requires java path

          This question belongs in the separate SQL Developer forum, not here.

          And AFAIK, Sqldeveloper still requires a version 6 JRE.

           

          ----------

          Sybrand Bakker

          Senior Oracle DBA

          • 2. Re: SQL Developer requires java path
            I have sql developer installed with Oracle 11g but when I open, it asks for full java path. I have java jre7 in Program Files but it said "cannot find a J2SE SDK installed".

             

             

            You said you have a 'jre' but sql developer is telling you it wants an 'sdk'.

             

            Provide the full path the a Java sdk.

            • 3. Re: SQL Developer requires java path
              TuBong

              I followed instructions of the folks here by installing java jdk1.6.0_26 and jre6 in my java folder:

              c:\java\jdk1.6.0_26

              c:\java\jre6

              c:\java\jre7 (this version had already been here)

              when I ran sqldeveloper.exe it asked me to enter the full path of java l tried all those three (c:\program files\java\jdk1.6.0_26, c:\..\java\jre6, c:\....\java\jre7) it said  "cannot find a J2SE SDK in c:\program files...."

              I don't know what else to try.

              I have windows 7 Professional and Oracle 11g  client runtime in my laptop.

               

              Any help will be appreciated.

              T

              • 4. Re: SQL Developer requires java path

                Well I can't make any sense out of what you just posted.

                 

                You said you installed Java 1.6 hee:

                c:\java\jdk1.6.0_26

                But then say you did entered a totally DIFFERENT path when you were ask for one

                l tried all those three (c:\program files\java\jdk1.6.0_26

                Sql developer can't find the JDK at 'c:\java\...' if you enter a totally different path at 'c:\program files\java\...' when it asks for one.

                 

                So if that is really what you did you can't expect that to work.

                 

                And we don't know whether 'the folks here' know how to install sql developer or not.

                 

                I suggest you download the sql developer installation doc and follow the instructions in it.

                http://docs.oracle.com/cd/E12151_01/doc.150/e12153/install.htm

                 

                Pay particular attention to this sentence in section 1.2.1

                If you are asked to enter the full pathname for java.exe, click Browse and find java.exe. For example, the path might have a name similar to C:\Program Files\Java\jdk1.5.0_06\bin\java.exe.

                Note that is says 'find java.exe'.

                • 5. Re: SQL Developer requires java path
                  TuBong

                  Sorry for confusing you. What I meant was trying one path at a time but none of them worked:

                   

                  C:\Program Files\Java\jdk1.6.0_26\bin\java.exe  did not work

                  C:\Program Files\Java\jre6\bin\java.exe  did not work

                  C:\Program Files\Java\jre7\bin\java.exe  did not work

                   

                  And thanks for your link. I'm reading it.

                  T

                  • 6. Re: SQL Developer requires java path
                    Jim Smith

                    TuBong wrote:

                     

                    I followed instructions of the folks here by installing java jdk1.6.0_26 and jre6 in my java folder:

                    c:\java\jdk1.6.0_26

                    c:\java\jre6

                    c:\java\jre7 (this version had already been here)

                     

                    The above paths are different to what you say below  (ie no "Program Files" .)  Which is correct?

                    when I ran sqldeveloper.exe it asked me to enter the full path of java l tried all those three (c:\program files\java\jdk1.6.0_26, c:\..\java\jre6, c:\....\java\jre7) it said  "cannot find a J2SESDK in c:\program files...."

                    I don't know what else to try.

                    I have windows 7 Professional and Oracle 11g  client runtime in my laptop.

                     

                    Any help will be appreciated.

                    T

                    • 7. Re: SQL Developer requires java path
                      TuBong

                      I used the link

                      http://docs.oracle.com/cd/E12151_01/doc.150/e12153/install.htm

                      provided by rp0428 and I was able to get sql developer work.

                       

                      Thanks everyone,

                      T