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

Posted on 2009-12-28
Last Modified: 2013-11-11

     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
Question by:missymadi
    LVL 30

    Expert Comment

    by:Reza Rad
    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

    LVL 47

    Expert Comment

    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.

    Author Comment

    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?
    LVL 30

    Expert Comment

    by:Reza Rad
    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.
    LVL 47

    Expert Comment

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

    Accepted Solution

    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.
                      set a system property
                      enable verbose output
        -version      print product version and exit
                      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
                      enable assertions
                      disable assertions
        -esa | -enablesystemassertions
                      enable system assertions
        -dsa | -disablesystemassertions
                      disable system assertions
                      load native agent library <libname>, e.g. -agentlib:hprof
                        see also, -agentlib:jdwp=help and -agentlib:hprof=help
                      load native agent library by full pathname
                      load Java programming language agent, see java.lang.instrument
                      show splash screen with specified image


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
    From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
    This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now