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

Run IDEA 3.0.1 on Java 1.4.1 DP9 Apps
Nine steps to running IDEA 3.0.1 (an integrated Java development environment) with Java 1.4.1 Developer Preview 9 on OS X 10.2.3:
  1. Set up a free account with Apple's ADC.
  2. Download and install Apple's Java 1.4.1 DP9 from the ADC site.
  3. Download the generic Unix tarball of IDEA from www.intellij.com.
  4. Unpack it ... the directory that is created will be known as IDEA_HOME.
  5. Create a directory named jre in IDEA_HOME. ie: IDEA_HOME/jre.
  6. Create a bin and lib directory in the jre directory. ie: IDEA_HOME/jre/bin and IDEA_HOME/jre/lib.
  7. Copy the contents of /System -> Library -> Frameworks -> JavaVM.framework -> Versions -> 1.4.1 -> Commands to the IDEA_HOME/jre/bin directory.
  8. Copy /System -> Library -> Frameworks -> JavaVM.framework -> Versions -> 1.4.1 -> Home -> src.jar to the IDEA_HOME/jre/lib directory.
  9. Run the IDEA_HOME/bin/idea.sh script in the terminal and you're good to go.
It works just as well if not better on my Dual 450 running Jaguar than my fellow linux buddies dual P3's running Linux. Good job Apple!

[Editor's note: I haven't tested this one myself, though I am grabbing the new DP9 Java release as I type this...]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[5,069 views]  

Run IDEA 3.0.1 on Java 1.4.1 DP9 | 6 comments | Create New Account
Click here to return to the 'Run IDEA 3.0.1 on Java 1.4.1 DP9' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
One more step
Authored by: vineetb on Jan 30, '03 11:11:09AM

Also copy everything from jre/bin/Commands to jre/bin

Eclipse is so much better :P



[ Reply to This | # ]
One more step
Authored by: vineetb on Jan 30, '03 11:27:12AM

Oops nevermind. The instructions work fine, just add a jdk, point to the jre directory you just created.

Try the aqua look and feel. Drool :P

JBuilder < IDEA < Eclipse



[ Reply to This | # ]
One more step
Authored by: rsfeir on Jan 30, '03 12:02:49PM

You guys are doing too much.

Just go to www.intellij.net/eap, register it's free and download the Mac Binary installer and you don't have to do anything else but double click the package to run it.

R



[ Reply to This | # ]
Easier way to do it...
Authored by: ubik on Jan 30, '03 12:03:20PM

Sign up for an EAP account at http://www.intellij.net/index.jsp.
Download latest build (692)... works out of the box without having to copy the whole jre...



[ Reply to This | # ]
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 | # ]