Developing JDK in IntelliJ IDEA

Hello,

I have a question on the usage of IntelliJ IDEA hope someone can help me with it.

How i can make IntelliJ IDEA have preference over the packages in my project rather than the one in the Java JDK ? I am working on a class in a package in the Java sources.

IDEA seems to be considering the packages inside the JDK and giving me wierd method not found errors. The package under consideration is the sun.rmi.transport.* package.

Any help is appreciated.

Thanks,

- FaeLLe

1 comment

Problem solved thanks to the nice developers at IBM.

Solution is,

File, Settings, Modules, Order/Export Tab, Select ]]> and click Move Up and click Ok.

Now it reads the sun.rmi.transport.* package from my sources rather than the JDK.

0

Please sign in to leave a comment.