Compilation in IntelliJ IDEA
Submitted by Fabien D on Sat, 12/14/2013 - 22:18.
How do you compile JNode inside IntelliJ IDEA ?
With IntelliJ IDEA Community Edition 13 running in jdk 7 and JNode projects configured to use JDK 6, I have errors like this one :
java: /home/fabien/projets/jnode/jnode/core/src/openjdk/vm/sun/font/NativeFontManager.java:230: sun.font.FontManager.FontConfigInfo has private access in sun.font.FontManager
- Login to post comments
1. In Project structure, add
1. In Project structure, add a new jdk that point to a correct directory (1.6 or 1.7). I called it "dummy".
2. Next, remove all the content of "classpath".
3. In "Project", select the "dummy" jdk.
After that, it should compile.
Fabien L.