When running IDEA 13 on JDK 1.7 (after changing JVMVersion
to 1.7*
in Info.plist
) make sure you have LANG=en_US.UTF-8
in your environment, see the related Java issues:
refs:
http://stackoverflow.com/questions/13019199/how-do-i-run-idea-intellij-on-mac-os-x-with-jdk-7
1)IDEA
2)eclipse
#!/bin/sh
#
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home
#LAUNCHER_JAR=/Applications/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
LAUNCHER_JAR=/Users/henrywu/Applications/adt-bundle-mac-x86_64-20140321/eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
java \
-showversion \
-XX:MaxPermSize=256m \
-Xms1024m \
-Xmx1024m \
-Xdock:icon=/Users/henrywu/Applications/adt-bundle-mac-x86_64-20140321/eclipse/Eclipse.app/Contents/Resources/Eclipse.icns \
-XstartOnFirstThread \
-Dorg.eclipse.swt.internal.carbon.smallFonts \
-Dosgi.requiredJavaVersion=1.5 \
-jar $LAUNCHER_JAR