Oracle SQL Developer 1.5.4がJavaSE6.0 Developer Preview 1(PowerPC版ね)を嫌だと言うので・・ Tweet
さて、今日はSQL Developer 1.5.4 for MacOSX(PowerPC)の話題をちょっとだけ。
PowerMac G5 with MacOSX Tiger 10.4.11(PowerPC)へJDeveloper 11g for MacOSXをインストールした際、JavaSE6.0 Developer Preview 1をデフォルトのJavaVMに変更してしまったので、それ以前にイストールしていたOracle SQL Developer 1.5.4がJDK6.0 Developer Preview 1なんてダメダメ、ちゃんとしてくれなくちゃだわ!。とアラートを表示するので、Oracle SQL Developer1.5.4はJavaSE5.0を利用するよう変更した。。(警告がでるだけで今のところ特に問題はなかったのですが、起動するだびアラートが表示されうざいので。)
ついでにどうにもこうにもSQL Developerのアイコンが気に入らないのでアイコンはカスタマイズしちゃってます。:)
デフォルトのJDKをJavaSE6.0 Developer Preview 1(PowerPC版では正式なJDK6.0は無いので)にしてしまったのだが、旧リリースもちゃんと残してあるのでOracle SQL Developer for MacOSXではsqldeveloper-Darwin.confを編集し、SetJavaHomeにJavaSE5.0のパスをセットして再起動すれば作業終了。
ちなみに、sqldeveloper-Darwin.confの場所は、SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin 以下。
G5Server:˜ discus$
G5Server:˜ discus$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions/
total 56
lrwxr-xr-x 1 root wheel 5 Sep 25 2008 1.3 -> 1.3.1
drwxr-xr-x 8 root wheel 272 Jul 21 2005 1.3.1
lrwxr-xr-x 1 root wheel 5 Sep 25 2008 1.4 -> 1.4.2
drwxr-xr-x 8 root wheel 272 Jul 21 2005 1.4.2
lrwxr-xr-x 1 root wheel 5 Sep 25 2008 1.5 -> 1.5.0
drwxr-xr-x 8 root wheel 272 Apr 9 10:02 1.5.0
lrwxr-xr-x 1 root wheel 5 Jul 21 2007 1.6 -> 1.6.0
drwxr-xr-x 10 root wheel 340 Mar 24 10:30 1.6.0
drwxr-xr-x 6 root wheel 204 Mar 17 19:53 A
lrwxr-xr-x 1 root wheel 1 Sep 25 2008 Current -> A
lrwxr-xr-x 1 root wheel 3 Mar 25 13:52 CurrentJDK -> 1.6
G5Server:˜ discus$
G5Server:˜ discus$
G5Server:˜ discus$ cd /Volumes/ExtraDisk/Application/
G5Server:/Volumes/ExtraDisk/Application discus$ ls SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
G5Server:/Volumes/ExtraDisk/Application discus$ ll SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
total 136
-rw-r--r-- 1 discus discus 0 Mar 2 21:47 jdk.conf
-rw-r--r-- 1 discus discus 315 Mar 2 21:47 logging-debug.conf
-rw-r--r-- 1 discus discus 316 Mar 2 21:47 logging.conf
-rw-r--r-- 1 discus discus 12702 Mar 2 21:47 splash.gif
-rw-r--r-- 1 discus discus 10286 Mar 2 21:47 splash.png
-r-xr-xr-x 1 discus discus 3168 Mar 2 21:47 sqldeveloper
-rw-r--r-- 1 discus discus 392 Apr 20 04:32 sqldeveloper-Darwin.conf
-rw-r--r-- 1 discus discus 350 Apr 20 04:32 sqldeveloper-Darwin.conf.org
-rw-r--r-- 1 discus discus 63 Mar 2 21:47 sqldeveloper-debug.conf
-rw-r--r-- 1 discus discus 170 Mar 2 21:47 sqldeveloper-nondebug.conf
-rw-r--r-- 1 discus discus 173 Mar 2 21:47 sqldeveloper.boot
-rw-r--r-- 1 discus discus 516 Mar 2 21:47 sqldeveloper.conf
-rw-r--r-- 1 discus discus 132 Mar 2 21:56 version.properties
G5Server:/Volumes/ExtraDisk/Application discus$
G5Server:/Volumes/ExtraDisk/Application discus$ cd
G5Server:˜ discus$ SQL_DEV_HOME=/Volumes/ExtraDisk/Application/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin
G5Server:˜ discus$ diff $SQL_DEV_HOME/sqldeveloper-Darwin.conf.org $SQL_DEV_HOME/sqldeveloper-Darwin.conf
6c6
< SetJavaHome /Library/Java/Home/
---
> SetJavaHome /System/Library/Frameworks/JavaVM.framework/Versions/1.5/home
G5Server:˜ discus$
G5Server:˜ discus$
以下、JDKをJavaSE6.0 DP1からJavaSE5.0へダウングレードした結果。
| 固定リンク | 0
トラックバック
この記事へのトラックバック一覧です: Oracle SQL Developer 1.5.4がJavaSE6.0 Developer Preview 1(PowerPC版ね)を嫌だと言うので・・:
コメント