Idea 8.1, soylatte 1.0.3 - can't find standard (java.* etc) classes?
Since I'm on a 32-bit intel mac I can't use apple's 1.6 JDK so I'm using the soylatte/OpenJDK build.
In the JDK config I see dt.jar, jconsole.jar and tools.jar as class libraries and src.zip under sourcepath.
I can't find a jar containing the compiled standard classes (I've also looked under the jre directory) - just src.zip.
It works fine on the command line (I can even start Idea with soylatte as the JVM that runs it) - but Idea can't find things like java.lang.Long etc etc when coding.
Any hints on how to correctly configure this JDK?
请先登录再写评论。
You need to add the jars to the classpath tab for the SDK, I've got the following jars
/opt/soylatte16-i386-1.0.3/lib/dt.jar
/opt/soylatte16-i386-1.0.3/lib/jconsole.jar
/opt/soylatte16-i386-1.0.3/lib/tools.jar
/opt/soylatte16-i386-1.0.3/jre/lib/charsets.jar
/opt/soylatte16-i386-1.0.3/jre/lib/jce.jar
/opt/soylatte16-i386-1.0.3/jre/lib/jsse.jar
/opt/soylatte16-i386-1.0.3/jre/lib/management-agent.jar
/opt/soylatte16-i386-1.0.3/jre/lib/resources.jar
/opt/soylatte16-i386-1.0.3/jre/lib/rt.jar
/opt/soylatte16-i386-1.0.3/jre/lib/ext/dnsns.jar
/opt/soylatte16-i386-1.0.3/jre/lib/ext/localedata.jar
/opt/soylatte16-i386-1.0.3/jre/lib/ext/sunjce_provider.jar
/opt/soylatte16-i386-1.0.3/jre/lib/ext/sunpkcs11.jar
The jars in jre/lib and jre/lib/ext I added manually.
I tried adding some of them to see but not all - I see from this I should have gone with the "Oh well - might as well add the lot" idea Thanks.
I think you should post a bug to JIRA.
AFAIK they haven't tested soylatte at all.
http://www.jetbrains.net/jira/browse/IDEA-22607