[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2515
  • Last Modified:

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
0
missymadi
Asked:
missymadi
  • 3
  • 2
1 Solution
 
Reza RadCommented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Reza RadCommented:
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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now