ITPub博客

首页 > Linux操作系统 > Linux操作系统 > how to set nondefault directory for SQL Developer

how to set nondefault directory for SQL Developer

原创 Linux操作系统 作者:sheisella 时间:2010-02-03 01:08:04 0 删除 编辑


http://74.125.153.132/search?

q=cache:k3A3Ag7Wj5sJ:forums.oracle.com/forums/thread.jspa%

3FthreadID%3D473711+citrix+SQLDEVELOPER_USER_DIR&cd=1&hl=en&ct=clnk

 


Hi - I have two very similar problems (am packaghing SQL Developer

1.2.1 for rollout across global corporation)

1) Configure for Citrix (W2K3 Terminal Server) I am confident this

works OK:

Edit C:\Program Files\SQL

Developer\sqldeveloper\bin\sqldeveloper.conf
Add this line
AddVMOption -Dide.user.dir=H:\$config\sqldeveloper\

should work to put all user files on their H: drive mapping

2) Configure for XP Desktop - this is where my problem is:

Command line in shortcut
"C:\Program Files\Oracle\sqldeveloper\sqldeveloper.exe" -J-

Dide.user.dir="%userprofile%\.sqldeveloper"
OR
"C:\Program Files\Oracle\sqldeveloper\sqldeveloper.bat" and have

the command line in the batch file:
"C:\Program Files\Oracle\sqldeveloper\sqldeveloper.exe" -J-

Dide.user.dir="%userprofile%\.sqldeveloper"

The problem with the XP build is:
a) it does not work if the user does not use the desktop shortcut

or the batch file, but for some reason just double clicks the

sqldeveloper.exe
b) when using the batch file the DOS command prompt window stays

open while SQL Developer is running.

any help would be greatly appreciated!

 

http://forums.oracle.com/forums/thread.jspa?threadID=1023091&stqc=true

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22117706/viewspace-626686/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: IO处理
下一篇: 异常处理
请登录后发表评论 登录
全部评论

注册时间:2009-11-15

  • 博文量
    27
  • 访问量
    16111