$ cd /Applications/NetBeans/NetBeans 6.9.app/Contents/Resources/NetBeans/etc $ vi netbeans.conf 4 # Options used by NetBeans launcher by default, can be overridden by explicit 5 # command line switches: 6 netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dfile.encoding=UTF-8" 7
/.MacOSX/environment.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LANG</key>
<string>ja_JP.UTF-8</string>
<key>XMODIFIERS</key>
<string>@im=kinput2</string>
<key>JAVA_HOME</key>
<string>/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home</string>
<key>_JAVA_OPTIONS</key>
<string>-Dfile.encoding=UTF-8</string>
</dict>
</plist>