您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Ubuntu上试用sql developer

2025/11/5 2:50:19发布6次查看
windows下面oracle客户端ui程序有toad和pl/sql developer,到了ubuntu linux下面突然发现全部没了。还好oracle官方有sql develop
windows下面oracle客户端ui程序有toad和pl/sql developer,到了ubuntu linux下面突然发现全部没了。还好oracle官方有sql developer,同时支持多个系统平台,而且能支持mysql、mssql、sybase数据迁移,既然这么好还是官方的,没有不用的理由。
下载回来运行.sh,却发现总需要输入jdk的路径,很不爽,于是迅速看了下bash shell执行中是什么时候提示要输入jdk路径的,终于在安装目录下的ide/bin/launcher.sh中做个修改即可:
checkjdk()
{
# if ide home is not defined then try to define it using
# the first found java command on the path
if [ x$app_java_home = x ]
then
getdefaultjdk #这里会检查java_home环境变量,我正常设置了却获取不到
fi
# if java wasn't found on the path then ask the user for it
if checkjavahome #上面检查不到defalut jdk,因此会进入if
then
local dot_jdk_file_name=`getdotjdkfilename`
app_java_home= #把这里修改成jdk的目录即可
if [ -f $home/$dot_jdk_file_name ]
then
app_java_home=`cat fi
if [ x$app_java_home != x ]
then
if [ ! -d ${app_java_home} ]
then
app_java_home=
fi
fi
while [ x$app_java_home = x ]
do
echo type the full pathname of a j2se installation (or ctrl-c to quit), the path will be stored in ~/$dot_jdk_file_name
read app_java_home
if [ -f ${app_java_home}/bin/java ]
then
好了,可以正常进到ui界面了,,第一感觉还是比较清爽的。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product