install sql developer

Installation and support for Oracle DB on CentOS.
Post Reply
PBrimacombe
Posts: 53
Joined: 2008/04/18 17:18:24
Contact:

install sql developer

Post by PBrimacombe » 2010/07/23 19:52:54

I'm running CentOS 5.5 x64

I went to the Oracle site
http://www.oracle.com/technology/software/products/sql/index.html

I downloaded jdk (Java Development Kit)
jdk-6u21-linux-x64-rpm.bin

Phil Schaffner's tips and tricks were helpful but I didn't follow them exactly
http://wiki.centos.org/TipsAndTricks/PluginsFor64BitFirefox

sh ./jdk-6u21-linux-x64-rpm.bin
alternatives --install /usr/bin/java java /usr/java/jre1.6.0_13/bin/java 2
alternatives --config java

I am completely unfamiliar with the alternatives command

this step comes back with a prompt to choose a java alternative, I choose
/usr/java/jre1.6.0_13/bin/java


the first time I started sqldeveloper I got this message:
Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
I entered:
/usr/java/jdk1.6.0_21

and it works!
the pop-up New / Select Database Connection was a little confusing
Connection Name is just an arbitary name that you assign, I had to type set Connection Type to TNS and set the Network Alias to the hostname in the TNS file

User avatar
AlanBartlett
Forum Moderator
Posts: 9319
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

install sql developer

Post by AlanBartlett » 2010/07/24 16:00:04

[quote]
sh ./jdk-6u21-linux-x64-rpm.bin
alternatives --install /usr/bin/java java /usr/java/jre1.6.0_13/bin/java 2
alternatives --config java

I am completely unfamiliar with the alternatives command

this step comes back with a prompt to choose a java alternative, I choose
/usr/java/jre1.6.0_13/bin/java
[/quote]
It looks as if something is [i]NotQuiteRight[/i] (tm). ;-)

As you say that you are [i]completely unfamiliar with the alternatives command[/i], I would suggest a read of the manual page before progressing.

O.k. so having read that manual page, do you see how your [i]alternatives --install[/i] command line, above, looks incorrect?

Assuming that the [i]jdk-6u21-linux-x64-rpm.bin[/i] script provides a directory structure under the [b]/usr/java/[/b] directory that is [b]not[/b] [i]/usr/java/jre1.6.0_13/[/i], you should specify the correct path to the just installed [i]java[/i] command. Now, when you run the [i]alternates --config java[/i] command line, you should be able to select the [i]java[/i] from the [i]jdk-6u21[/i] package that has recently been installed. :-)

PBrimacombe
Posts: 53
Joined: 2008/04/18 17:18:24
Contact:

Re: install sql developer

Post by PBrimacombe » 2010/07/26 16:08:43

well thanks Alan another thing is that everytime I try to print something in Evolution, it crashes

I'll look at this after lunch

Peter B

User avatar
AlanBartlett
Forum Moderator
Posts: 9319
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: install sql developer

Post by AlanBartlett » 2010/07/26 16:18:03

I believe that [b]Phil[/b] will be back tomorrow (Tue 27 July, 2010), so I'll set a flag to suggest that he has a look at this thread.

PBrimacombe
Posts: 53
Joined: 2008/04/18 17:18:24
Contact:

Re: install sql developer

Post by PBrimacombe » 2010/07/26 19:06:41

I took my example from
http://wiki.centos.org/TipsAndTricks/PluginsFor64BitFirefox

anyways sql developer works but maybe that has adversely affected Evolution

PBrimacombe
Posts: 53
Joined: 2008/04/18 17:18:24
Contact:

Re: install sql developer

Post by PBrimacombe » 2010/07/26 20:26:22

printing in Evolution works

I changed the print range to all and now printing works

sqldeveloper works!

I think I don't have a problem!

Post Reply