Idea 3.0.2 and Mac OS X with JDK 1.4.1 Questions

I have two questions regarding running Idea 3.0.2 under Mac OS X with Jdk 1.4.1.

1. In the editor everything from the Java package can't be found, for example the Integer class. However the class compiles. Any clues? My project JDK is set to: /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home

2. If I try to run an ANT target I get a "No default JDK found"? Is the default JDK set differently than the project JDK?

thanks in advance.

4 comments

Have you installed the Java 1.4 Development pack from the Apple site?

I could be wrong but I think the situation you are getting with things highlighted as missing classes but compiling ok, is casused by the missing src.jar. You do not get this jar with the standard 1.4 install via software update.

Once you install the development kit copy the src.jar form the 1.4.1/Home dir into the ]]>jre/lib dir.

Daryl

0

I have the exact same problem and unfortunately the proposed solution doesn't seem to do the trick. Any other takers?

0

Did you guys add the classes.jar file to the JDK setup???

0

Please sign in to leave a comment.