Closed hi-wayne closed 11 years ago
再补点信息 E:\houseMD\housemd>java -version java version "1.6.0_32" Java(TM) SE Runtime Environment (build 1.6.0_32-b05) Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)
sbt v0.12.1
如果问题依旧, 请确保%JAVA_HOME%/lib/tools.jar
是存在!
感谢反馈这个Window
下的问题, 但我不得不告诉目前的稳定版不支持在Window
下运行, 这个我的文档中有提到.
或许在0.3.x
中会有惊喜:)
遇到一样的问题,不求在Win环境下运行,只是想编译一下。
这个问题我也搞了很久,也是不行
error info E:\houseMD\housemd>sbt proguard [info] Loading project definition from E:\houseMD\housemd\project [info] Set current project to housemd (in build file:/E:/houseMD/housemd/) [info] Compiling 21 Scala sources and 4 Java sources to E:\houseMD\housemd\target\scala-2.9.2\classes... [error] E:\houseMD\housemd\src\main\scala\com\github\zhongl\housemd\house\House.scala:19: object tools is not a member of package com.sun [error] import com.sun.tools.attach.VirtualMachine [error] ^ [error] one error found [error] {file:/E:/houseMD/housemd/}housemd/compile:compile: Compilation failed [error] Total time: 5 s, completed 2012-12-26 13:22:48