在Eclipse/MyEclipse中打開可視化編輯窗口,比如JSP的編輯工具,可能會彈出一個警告窗口,信息如下:
The Linux WYSIWYG design panel is still under development. To access an experimental version of this design panel restart with the commandline argument -Dlinux.experimental=true
解決辦法:
$ sudo gedit /usr/java/eclipse/eclipse.ini //編輯eclipse目錄下的eclipse.ini文件
直接在後面加入(第一句附在原文後一行,下面一段爲Myeclipse參數):
-Dlinux.experimental=true
-showsplash
com.genuitec.myeclipse.product
-vmargs
-Xms128m
-Xmx512m
-Dosgi.splashLocation=/root/MyEclipse_6.0/eclipse/MyEclipseSplash.bmp
-Duser.language=en
-XX:PermSize=128M
-XX:MaxPermSize=256M
-Dlinux.experimental=true