Friday, November 28, 2008

A tale of three IDEs

I think I should tell a little bit about the environment I am in. I am sure all Windows users can safely ignore everything below.
  • OS X 10.5.5
  • Default Java - java version "1.5.0_16"
  • Also have the latest (and buggy) apple Java 1.6.0_17
IDEVersionProblemFix
Netbeans6.5As soon as I launch, the netbeans icon jumps on the dock and then crashes. No error message on screen.This is due to some but in Apple's Java and updates. To address, you will have to edit file :
Applications/NetBeans/NetBeans 6.5.app/Contents/Resources/NetBeans/
platform9/lib/nbexec
and change
eval ${_NB_PROFILE_CMD} "\"${jdkhome}/bin/java\""
-Djdk.home="\"${jdkhome}\"" -classpath "\"$cp\"" \

$jargs org.netbeans.Main "$args" '&'
change it to:
ARCH_CMD="/usr/bin/arch -i386";
eval ${ARCH_CMD} ${_NB_PROFILE_CMD} "\"${jdkhome}/bin/java\""
-Djdk.home="\"${jdkhome}\"" -classpath "\"$cp\"" \
$jargs org.netbeans.Main "$a
rgs" '&'
Intellij IDEA8,7.xCompiler internal error. Process terminated with exit code 139 - This occurs whenever you try to build your projectNot sure how this gets fixed by my work-around, but all you have to do is : launch compiler properties- Intellij IDEA->Preferences..->Compiler->Java Compiler and put a valid option in "Additional command line parameters - for ex: -verbose
EclipseGanymedeNone so far

The fix for Netbeans issue is specified in netbeans issues
However, I had to figure out fix for issue with IDEA through trial and error(accidentally)
Screenshots for fixes mentioned above.
Netbeans :


IDEA


No comments: