Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A simple solution' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A simple solution
Authored by: TriNeuro on Jan 31, '03 07:05:02PM

Instead of doing all this copying of files or similar, all you need to do is edit the idea.sh script in {idea home}/bin. Set the last line to:

exec java -Didea.system.path=~/.IntelliJIdea/system -Didea.config.path=~/.IntelliJIdea/config -Didea.popup.weight=$IDEA_POPUP_WEIGHT $JVM_ARGS $MAIN_CLASS_NAME $args

The change here is right after "exec" where it now says only 'java'. All this requires is that the command 'java' is in your path, which it is in OS X.



[ Reply to This | # ]
A simple solution
Authored by: kanagawa on Feb 08, '03 09:43:02AM

Yeah, seems like copying all the java framework binaries to idea's directory would mean you'd have to go back and do it all over again when you upgrade the JDK, later. Too bad idea.sh doesn't look for a properly configured JAVA_HOME in your environment, first.



[ Reply to This | # ]