oracle sql developer 安装

本文详细介绍了如何在Linux环境下安装Oracle SQL Developer,并解决安装过程中遇到的问题,如配置JDK环境、字体乱码等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Linux下的可视化界面的oracle 工具
一、Oracle SQL Developer 2.1 选择for linux 版本下载
http://www.oracle.com/technology/software/products/sql/index.html
1、安装sqldeveloper,
rpm -Uhv sqldeveloper-2.1.1.64.39-1.noarch.rpm,
安装完成后软件在/opt/sqldeveloper, 虽然在程序菜单中有sql-developer的图标,但单击并不能启动,估计

是没有配置jdk的路径。所以,只能用命令行启动。
# cd /opt/sqldeveloper
# ./sqldeveloper.sh 出现
Oracle SQL Developer
  Copyright (c) 2008, Oracle. All rights reserved.

Type the full pathname of a J2SE installation (or Ctrl-c to quit), the path will be stored in

~/.sqldeveloper/jdk
会提示输入要jdk路径,/opt/oracle/jdk1.6.0_18

安装jdk参考下面

二、安装jdk
因为下载的sqldeveloper 不含JDK所以要单独下载,我下载的版本是 jre-6u18-linux-i586.bin for linux
下载页面 http://java.sun.com/javase/downloads/widget/jdk6.jsp
安装说明:http://java.sun.com/javase/6/webnotes/install/jdk/install-linux-self-extracting.html
1、将jre-6u18-linux-i586.bin放到本地,我放在/opt/oracle/目录下,我将所有和oracle相关的都放这下面了

。呵。以下操作切换至root权限下。
2、设置执行权限 chmod a+x jdk-6u<version>-linux-i586.bin
3、运行自解压: ./jdk-6u<version>-linux-i586.bin ,提示授权说明,q跳过,然后输入yes后等待会即可完

成。最后安装完成在opt/oracle/ (即解压在当前路径)
4、打开/etc/profile,在profile文件末尾加入:
#
# set java enviornment
#
JAVA_HOME=/opt/oracle/jdk1.6.0_18
JAVA_BIN=/opt/oracle/jdk1.6.0_18/bin
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export JAVA_BIN
export PATH
export CLASSPATH
5、验证java -version出现关于JDK版本信息即成功,最后可选操作,删除此bin文件,如果想节省空间的话。

三、最后使用,在程序中可以看到sqldeveloper图标,点击即可,在控制台输入sqldeveloper也可。但可能会

出现界面中文字体乱码。解决方案:
1.首先拷贝字体
拷贝从windows下的simsun.ttc,更名为simsun.ttf至相应目录下。
linux:cd /usr/X11R6/lib/X11/fonts/truetype
# cp /home/simsun.ttc simsun.ttf

必须放在/usr/X11R6/lib/X11/fonts/truetype
否则添加的字体只能Root用,别的用户没法用。

2.安装字体,运行命令 SuSEconfig -module fonts 即可

因为JDK不支持中文的原因
[root@ ~]# cd $JAVA_HOME/jre/lib/fonts
[root@ fonts]# mkdir fallback
[root@ fonts]# cd fallback/
[root@ fallback]# ln -s /usr/share/fonts/default/simsun.ttf  (你想要的字体)
[root@ fallback]# mkfontdir
[root@ fallback]# mkfontscale

======================================================================
参考文章:
sqldeveloper 安装 http://www.nichael.cn/blog/show-5-1.html
jdk 安装 http://www.nichael.cn/blog/show-4-1.html
使用sqldeveloper界面乱码:http://www.blogjava.net/tokyo2006/archive/2009/07/08/285939.html

在linux下配置环境变量,
参考文章:http://www.linuxeden.com/html/sysadmin/20080424/56879.html
下面以配置java环境变量为例介绍三种配置环境变量的方法。
1.修改/etc/profile文件:如果你的计算机仅仅作为开发使用时推荐使用这种方法,因为所有用户的shell都有

权使用这些环境变量,可能会给系统带来安全性问题。
2. 修改.bashrc文件:这种方法更为安全,它可以把使用这些环境变量的权限控制到用户级别,如果你需要给

某个用户权限使用这些环境变量,你只需要修改其个人用户主目录下的.bashrc文件就可以了。
3. 直接在shell下设置变量:不赞成使用这种方法,因为换个shell,你的设置就无效了,因此这种方法仅仅是

临时使用,以后要使用的时候又要重新设置,比较麻烦。

-------------------------------------------------

如果要访问其他类型的数据库,要将其驱动安装进去

要在x环境运行,运行起来后,在tool-》preference里-》database-》third。。。-》添加该数据库的jdbc的jar包,
然后新建连接的时候就能看到该数据库的选项了。

 

说明: 这是2010年112日从Oracle官方网站下载的最新版本,官网也就是从这一天开始才正式提供正确的下载路径,所以在此之前没有出现过这个2.1版。 注意: 除非内含jdk1.6.11,否则需要在系统中安装有jdk1.6.11或以上版本,否则无法正常运行。 ================================================================================================= 所有sqldeveloper的下载地址: Oracle SQL Developer 2.1.0.63.73 for 32bit-windows-with-jdk1.6.11下载地址: part1: http://download.csdn.net/source/1988257 part2: http://download.csdn.net/source/1988297 part3: http://download.csdn.net/source/1988320 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for 32bit-windows-no-jre下载地址: part1: http://download.csdn.net/source/1990426 part2: http://download.csdn.net/source/1990448 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for 64bit-windows-no-jre下载地址: part1: http://download.csdn.net/source/1990232 part2: http://download.csdn.net/source/1990238 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for linux-noarch下载地址: part1: http://download.csdn.net/source/1990256 part2: http://download.csdn.net/source/1990265 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for mac-osx-no-jre下载地址: part1: http://download.csdn.net/source/1990322 part2: http://download.csdn.net/source/1990328 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for other-platform-no-jre下载地址: part1: http://download.csdn.net/source/1990381 part2: http://download.csdn.net/source/1990408 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ================================================================================================= There is no in-place upgrade available. To install Oracle SQL Developer 2.1 download the file and unzip into an empty folder. Select the "Use folder names" checkbox when unzipping the file. You can migrate your settings from Oracle SQL Developer 1.2.1. or Oracle SQL Developer 1.5.x. See the Release Notes 2.1 for more details. JDK Support Oracle SQL Developer 2.1 is shipped with JDK1.6_11. However, you can connect to and use any JDK 1.6.11 or above. To use an existing JDK, download the zip files listed below "with JDK already installed." Use Check for Updates to install: Third-party database drivers for Sybase, SQL Server and MySQL. For more information on setting up the third-party drivers, see Migrations: Getting Started Version control systems, Concurrent Versions System (CVS), Serena Dimensions or Perforce.
说明: 这是2010年112日从Oracle官方网站下载的最新版本,官网也就是从这一天开始才正式提供正确的下载路径,所以在此之前没有出现过这个2.1版。 注意: 除非内含jdk1.6.11,否则需要在系统中安装有jdk1.6.11或以上版本,否则无法正常运行。 ================================================================================================= 所有sqldeveloper的下载地址: Oracle SQL Developer 2.1.0.63.73 for 32bit-windows-with-jdk1.6.11下载地址: part1: http://download.csdn.net/source/1988257 part2: http://download.csdn.net/source/1988297 part3: http://download.csdn.net/source/1988320 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for 32bit-windows-no-jre下载地址: part1: http://download.csdn.net/source/1990426 part2: http://download.csdn.net/source/1990448 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for 64bit-windows-no-jre下载地址: part1: http://download.csdn.net/source/1990232 part2: http://download.csdn.net/source/1990238 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for linux-noarch下载地址: part1: http://download.csdn.net/source/1990256 part2: http://download.csdn.net/source/1990265 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for mac-osx-no-jre下载地址: part1: http://download.csdn.net/source/1990322 part2: http://download.csdn.net/source/1990328 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 2.1.0.63.73 for other-platform-no-jre下载地址: part1: http://download.csdn.net/source/1990381 part2: http://download.csdn.net/source/1990408 ------------------------------------------------------------------------------------------------- Oracle SQL Developer 1.5.5.59.69-with-jdk6下载地址: part1: http://download.csdn.net/source/1986539 part2: http://download.csdn.net/source/1986547 ================================================================================================= There is no in-place upgrade available. To install Oracle SQL Developer 2.1 download the file and unzip into an empty folder. Select the "Use folder names" checkbox when unzipping the file. You can migrate your settings from Oracle SQL Developer 1.2.1. or Oracle SQL Developer 1.5.x. See the Release Notes 2.1 for more details. JDK Support Oracle SQL Developer 2.1 is shipped with JDK1.6_11. However, you can connect to and use any JDK 1.6.11 or above. To use an existing JDK, download the zip files listed below "with JDK already installed." Use Check for Updates to install: Third-party database drivers for Sybase, SQL Server and MySQL. For more information on setting up the third-party drivers, see Migrations: Getting Started Version control systems, Concurrent Versions System (CVS), Serena Dimensions or Perforce.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值