Solved

SQL Developer installation with jre and without jre

Posted on 2014-11-13
8
836 Views
Last Modified: 2014-11-24
Hello,
I would like to install the SQL Developer which has the jre prepackaged, then I need to have jre 1.6,0_37 installed, so that I can run another application.
When I have neither of the jre installed, I can run SQL Developer x64.  

When I install jre 1.6.0_37, SQL Developer x64 picks up this jre, as is shown on the SQL Developer's About/properties java values.  I can't edit these values.

Is there a particular method to install SQL Developer that will use its bundled jre?
0
Comment
Question by:chima
8 Comments
 
LVL 1

Accepted Solution

by:
ora-600 earned 250 total points
ID: 40440344
Hi!

first of all sqldeveloper needs jdk not jre. But since it's working I guess you have that installed.

You can change the java home in C:\Users\<USER>\AppData\Roaming\sqldeveloper\??????\product.conf
Change parameter "SetJavaHome" to your preferred location.

Regards!
0
 
LVL 23

Assisted Solution

by:paquicuba
paquicuba earned 200 total points
ID: 40440346
Go here --> C:\Users\<your user>\AppData\Roaming\sqldeveloper\1.0.0.0.0\product.conf

set SetJavaHome  to whatever Java location you want

Eg.

SetJavaHome C:\Program Files\Java\jdk1.8.0_25
0
 

Author Comment

by:chima
ID: 40440656
paquicuba and ora-600, this is my objective; to have SQL Developer run with its bundled jdk/jre (the version it needs).  Then have jre 1.6.0_37 installed in my system, for another application.
When I look at the SQL Developer's "About/properties" settings I see that it has jre 1.6.0_37 listed.  I assume because it is listed that it is using it.
I'll go make the changes you suggest, yet I do not believe this will allow me to have both jre to work with.
0
 
LVL 11

Assisted Solution

by:mohammadzahid
mohammadzahid earned 50 total points
ID: 40441960
If you've downloaded the correct version of SQL Developer X64 in your case, it comes with JDK kit. At startup of SQLDeveloper.exe, you will get prompted for Java. Simply, click on the browse button and drill down to where JDK is and in the bin directory is where java.exe is. Click ok and SQL Developer should resume launch.

If you need more details on how to setup, go to Oracle OTN site and watch tutorial on SQL Developer. There is no point for me to paste screen shots, as they are already available on Oracle OTN Site.

Good luck!
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:chima
ID: 40443092
mohammadzahid, thank you for your response.  This is what I am using;
C:\Oracle\sqldeveloper-4.0.3.16.84-x64\sqldeveloper
I'll go look at the tutorials, yet would like to say that the window which is shown, does not have a "prompt for java;"
Unsupported Java version
0
 

Author Comment

by:chima
ID: 40443108
I now feel like a fool, because yesterday I did not find this path;
C:\Users\wmartinez\AppData\Roaming\sqldeveloper\1.0.0.0.0
And so I configured the "SetJavaHome via the "Environment Variables" which did not work.
Allow me to modify this file, then I'll get back to you guys.  thanks
0
 

Author Comment

by:chima
ID: 40443173
This worked.  I'll issue the points shortly.  Thank you all.
0
 

Author Closing Comment

by:chima
ID: 40463559
Sorry I was/am late, got too busy.  Thank you for your help.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
java 8 lambda expresssions exception handling 3 75
Query Records that don't match 8 34
su - oracle could not open session 6 50
Oracle - SQL Parse String 5 18
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

910 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

22 Experts available now in Live!

Get 1:1 Help Now