eclipse.iniã§JVMãæå®ãã¦ã¡ã¢ãªé¢ä¿(ãã¼ã)ã®ã¨ã©ã¼ãåé¿ããããã±ã¼ã«ãå¤æ´ãã¦htmlã¨ãã£ã¿ã®ãã°ãåé¿ããã
d:id:kanonji:20090118ã§eclipse3.4ç³»ã§ããGanymedeã§ç°å¢ãä½ãã¾ããã
ãã®æµãã§eclipse.iniã«ãæãå ããã®ã§è¦æ¸ã§ãã
JavaVMãæå®ããã
-vm C:\Program Files\Java\jre6\bin\javaw.exe
ãããè¨è¿°ããäºã§ã使ç¨ããJavaVMãæå®åºæ¥ã¾ãã
ä»åæå®ããçç±ã¯ãããªãã¨ã¡ã¢ãªé¢ä¿ã®ã¨ã©ã¼ã§èµ·ååºæ¥ãªãã£ãããã§ãã
å®ã¯eclipseã¯ç°å¢ã«ãã£ã¦ã¯ãã¡ã¢ãªé¢ä¿ã®ã¨ã©ã¼ã§eclipseãèµ·åãç¡ãäºãããã¾ãã
ZIPã解åãå®è¡ãã¦ã¿ãããä¸è¨ã®ãããªã¨ã©ã¼ãåºã¦ãã¾ãã
Eclipse Foundation公式のPHP開発用プラグイン「PDT 1.0」(Eclipse PHP Development Tools)がリリース。だけど起動時にエラー - プログラマのチラシの裏
JVM terminated. Exit code=-1
以ä¸çç¥
ãã®æã¯ãä¸è¨ãåé¤ããäºã§ã¨ã©ã¼ãåé¿åºæ¥ã¾ãããããããæ¶ãã¨JavaVMã«ãã¼ãé åã®æå°ã¨æ大å¤ã渡ãäºãåºæ¥ã¾ããã
-vmargs -Xms40m -Xmx256m
-vmargs以ä¸ãæ¶ãã¦ããã¨ããã¼ãé åã128MBç¨åº¦ãã確ä¿ããããã©ãã«ãä¸è¶³ãã¡ã§ããã
ã©ãã§è¦ããããã¯å¿ãã¾ããããJavaVMãæå®ããäºã§ãããããæ¶ããªãã¦ãèµ·ååºæ¥ãæ§ã«ãªãã¾ããã
ãªãã-vmargsããå¾ã«æ¸ããããã®ã¯ãå
¨ã¦JavaVMã¸ã®å¼æ°ã¨ãã¦æ¸¡ãããã®ã§ãJavaVMã®æå®ã¯-vmargsããåã«æ¸ãå¿
è¦ãããã¾ãã
ãã¼ãã¨ã¯
Java VMã®ä»®æ³ã¡ã¢ãªä¸ã§ã®ã¤ã¡ã¼ã¸ã¯å³5ã®ããã«ãªãã¾ããJavaããã°ã©ã ãåä½ãããã«ã¯Javaãã¼ãã¨Java VMã¹ã¿ãã¯ãå¿ è¦ã«ãªãã¾ããJavaãã¼ãã«ã¯ã¯ã©ã¹ãã¡ã¤ã«ãå±éãã¦ããé åã¨Javaã¯ã©ã¹ã®ã¤ã³ã¹ã¿ã³ã¹ãç½®ãããé åãããã¾ãã
http://kanonji.clipp.in/entry/49333
å è¨äºããã¾ãã«é·ãã®ã§ãclippããã«ãªã£ã¡ãã£ã¦ããã©ãJavaã®ä»®æ³ã¡ã¢ãªé åã®ä¸é¨ã®äºã¿ããã§ãã
ãã±ã¼ã«ãè±èªã«ãã
-Duser.language=en
ãããè¨è¿°*1ããäºã§ããã±ã¼ã«ãè±èªã«åãæ¿ããã¾ãã
ãªãã§ããããè±èªã«ãã¦ããã®ãã¨ããã¨ãeclipseæ¨æºã®HTMLã¨ãã£ã¿ã«ãæåã³ã¼ãå¤å¥ã«é¢ãããã°ãããããã§ãã
HTMLãã¡ã¤ã«å ã«METAã¿ã°ï¼charsetæå®ãç¡ãå ´åãé©ãããã¨ã«ãã±ã¼ã«ãjaã®æã¯ãã®EncodingGuesserãå¼ã³åºããã¦ãJIS/Shift_JIS/EUC-JP/ASCIIã®èªåå¤å¥ããã£ã¦ããã¾ããããããwstãã§ãJIS/Shift_JIS/EUC-JP/ASCIIããå¤å¥ãã¦ããªãã®ã§ããã以å¤ã®å ´åããã©ã«ãã®Shift_JISï¼ããã¯åãè¾¼ã¿ã®åºå®ï¼ãè¿ãã¦ãã¾ãã¾ãã
http://blog.goo.ne.jp/atlanto/e/f9c32302055b47f3521df3ee0967992d
Smartyãªã©ã®ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã使ã£ã¦ããã¨ãmetaã¿ã°ãå«ã¾ãªãæççãªhtmlãç·¨éããäºãå¤ã
ããã¾ãã
æè¿ã¯å¤§æµUTF-8ã使ãã®ã«ããã®ãã°ã®ããã§ãã£ããShift_JISã§ä¿åããã¦ãæååãã§ãã
ãããããªãã®ã§ãã±ã¼ã«ãja以å¤ã«ãããã®ãã°ãç¡çããåé¿ãã¾ããã
ãã±ã¼ã«ãenã®å¼å®³
è£å®ã§å ¥åãããæ¥ä»ã®è¡¨è¨ããFeb 13 2009ãã®æ§ã«ãªã£ã¦è¥å¹²èªã¿ã«ããã§ãã
ã¦ã¼ã¶åãæå®ãã
-Duser.name=username <[email protected]>
DocBlockã«ã¯ãªãã¹ã@authorãæ¸ãã¦ãå¾ãã誰ãä½ã£ãã¡ã½ãããªã®ãåããæ§ã«ãã¦ãã¾ãã
ãã ããããä¸ã
å
¥åããã®ã¯é¢åã§ãã
@author username <[email protected]>
大æµã¯ãã®æ§ã«æ¸ãã¨æãã¾ãããã¡ãã£ã¨è¨å®ãã¦ãããã¨ãè£å®ã§å
¥åã§ããããã«ãªãã¾ãã
ãã®éã®usernameã¨ã¡ã¼ã«ã¢ãã¬ã¹ã®é¨åãè¨å®ã§ããã®ã-Duser.nameã§ãã
eclipse.iniã®ã¾ã¨ã
å ã®eclipse.ini
-startup plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Xms40m -Xmx256m
å¤æ´å¾ã®eclipse.ini
-startup plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar --launcher.library plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731 -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vm C:\Program Files\Java\jre6\bin\javaw.exe -vmargs -Xms40m -Xmx256m -Duser.language=en username <[email protected]>
*1:確èªãã¦ãªããã©ã-vmargsã®å¾ã«æ¸ãã¦åä½ãã¦ãããããããJavaVMã¸ã®å¼æ°ããªï¼