开发者

scala compilation problem - with java libs

Im trying to put together a simple ant build file for compiling a scala project (scala 2.7.6)... I have everything working correctly except that its bringing up the

"fatal error: class java.lang.Object not found." both the scalac and scala libs are all in the project folder, so Im refering to them relativelly to the project root.

Im hoping that someone could help with wh开发者_如何学编程ich command line scalac option I can use to point the compiler towards the java core lib (if thats what it needs). Im hoping not to use any environemnt variables, and instead have the needed java libs in my project root folder...

that way I can have everything needed to compile movable with the project, and not need any setup for others to be able to compile

thank you


Scala 2.7.6 is a broken release. Please upgrade to 2.7.7

Also, do you have javac on PATH and JAVA_HOME set?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜