com.apple.eawt - what exactly I should install

前端 未结 3 1528
温柔的废话
温柔的废话 2020-12-03 21:40

I\'m using Max OS X Mountain Lion, java -version returns \"1.6.0_37\". But I cannot compile project with com.apple.eawt.* classes imported.

What I have to install t

3条回答
  •  囚心锁ツ
    2020-12-03 22:23

    Just like any other external library, you have to add the JAR containing those classes to your classpath. Just because you are running on a Mac does not mean the stock Java JDK is 'extended' -- otherwise, it would not be truly platform-independent.

提交回复
热议问题