2011年1月12日水曜日

jreのパスを指定して(jreのインストールをせずに)eclipseを起動する方法

eclipse.exeと同階層にあるeclipse.iniを編集する。


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

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

-product
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:/21_FukushiV2/jdk1.6.0_20/bin/javaw.exe ←ここでjavaw.exeのパスを直接指定
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-javaagent:dropins/MergeDoc/eclipse/plugins/jp.sourceforge.mergedoc.pleiades/pleiades.jar
-Xms128m
-Xmx512m


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

クライアントのjreのバージョンは上げられないけど、最新版のeclipseを使いたい!というときなどに重宝します。
※注意:jreはインストールプログラムを実行するのではなくするのではなく、ファイルだけコピーしておく

0 件のコメント:

コメントを投稿