The Artima Developer Community
Sponsored Link

Java Buzz Forum
IntelliJ IDEA on MacOSX

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Sam Dalton

Posts: 143
Nickname: samd
Registered: Jun, 2003

Sam Dalton is a Java Developer with ThoughtWorks in teh UK
IntelliJ IDEA on MacOSX Posted: Jun 26, 2003 10:24 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Sam Dalton.
Original Post: IntelliJ IDEA on MacOSX
Feed Title: import java.*;
Feed URL: http://www.samjdalton.com/pebble/rss.xml
Feed Description: Random, Infrequent Bloggings of a Techie
Latest Java Buzz Posts
Latest Java Buzz Posts by Sam Dalton
Latest Posts From import java.*;

Advertisement

I have just installed the above on Mac OSX and I ran in to a few problems. The first of these was that when configuring my target JDK to the one in /usr/bin none of the relevant libraries were included in the classpath, as such IntelliJ would complain that it could not find stuff in the standard Java API.
I was told that you could resolve this by adding manually all of the JARs in the /Library/Java/Home/lib directory, however I have found a better way.
On closer inspection the java* commands in /usr/bin are all symbolic links

[DirtyMac:/usr/bin] sam_dalton% ls -l java*
lrwxr-xr-x  1 root  wheel     57 May  8 11:12 java -> 
/System/Library/Frameworks/JavaVM.framework/Commands/java
lrwxr-xr-x  1 root  wheel     65 May  8 11:12 java-rmi.cgi -> 
/System/Library/Frameworks/JavaVM.framework/Commands/java-rmi.cgi
lrwxr-xr-x  1 root  wheel     58 May  8 11:12 javac -> 
/System/Library/Frameworks/JavaVM.framework/Commands/javac
-r-xr-xr-x  1 root  wheel  19336 Apr 14 09:09 javaconfig
lrwxr-xr-x  1 root  wheel     60 May  8 11:12 javadoc -> 
/System/Library/Frameworks/JavaVM.framework/Commands/javadoc
lrwxr-xr-x  1 root  wheel     58 May  8 11:12 javah -> 
/System/Library/Frameworks/JavaVM.framework/Commands/javah
lrwxr-xr-x  1 root  wheel     58 May  8 11:12 javap -> 
/System/Library/Frameworks/JavaVM.framework/Commands/javap

So I simply selected the /Library/Java/Home directory as my Java home and, bingo, it all works wonderfully.

Read: IntelliJ IDEA on MacOSX

Topic: Second Generation IDEs Previous Topic   Next Topic Topic: NetBeans bug or feature?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use