How can I resolve "enter full pathname to Java" when first starting Sql Developer?

experts,

     I am automating the Oracle installation. I want to resolve a "enter full pathname to Java" message that appears when SQL Developer is first started. How can I resolve this - maybe with a batch file giving a path to java? Not sure how to go about resolving this.

Thanks, Missymadi
missymadiAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Reza RadConsultant, TrainerCommented:
This is simple
don't worry about it
Just install latest version of JDK on your machine, download it from the site
and on first run of sql developer set pass of java.exe in the dialog box. this will run then
and other times you will have no problem again


0
schwertnerCommented:
You have to install SQLDeveloper with JVM in the installation kit.
Possibly the installer will check the OS of existance of appropriate
JVM and will decide automatically what to do.

SQLDeveloper kits are two kinds - with or without JVM.
0
missymadiAuthor Commented:
I used Oracle Standard Edition to install the Oracle Software. I am also doing this through an rec.rsp answer file. How would I include this step in my automation process?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Reza RadConsultant, TrainerCommented:
what do you mean?explain more.
just you need to install JDK and run Oracle SQL Developer again
you can download SQLDeveloper version which has JDK inside the setup iteself.
0
schwertnerCommented:
SQLDeveloper could be downloaded in two versions:
1. Without JVM
2. With  JVM

I always install the second one (I need it for my classes at the University).
I expect that the version with JVM will solve your problem.
0
schwertnerCommented:
Also in a batch file you can investigate existing java installation so:

 C:\Documents and Settings\i000148>java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

ALL options here:

C:\Documents and Settings\i000148>java
Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)

where options include:
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot      is a synonym for the "client" VM  [deprecated]
                  The default VM is client.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A ; separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.