首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法构建我的应用

问无法构建我的应用
EN

Stack Overflow用户
提问于 2015-03-24 05:00:13
回答 1查看 45关注 0票数 0

Hi World App正在模拟器中运行,但没有生成构建文件。

我得到了这个错误

代码语言:javascript
复制
goBlank:

testFail:

setupJavac:

jar:
     [echo] Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller
     [echo]             code size and wider device support
     [copy] Copying 1 file to E:\rainforest\rfl1\rfl1-1\testcodenameone\build\tmp
    [javac] E:\rainforest\rfl1\rfl1-1\testcodenameone\build.xml:131: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 3 source files to E:\rainforest\rfl1\rfl1-1\testcodenameone\build\tmp
      [jar] Building jar: E:\rainforest\rfl1\rfl1-1\testcodenameone\dist\testcodenameone.jar
    [javac] E:\rainforest\rfl1\rfl1-1\testcodenameone\build.xml:155: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

BUILD FAILED
E:\rainforest\rfl1\rfl1-1\testcodenameone\build.xml:155: Class not found: javac1.8

Total time: 3 seconds
EN

回答 1

Stack Overflow用户

发布于 2015-03-24 15:11:49

您需要Eclipse本身在JDK1.7下运行(这需要通过Eclipse ini文件进行配置)。还要确保JAVA_HOME指向JDK1.7。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29220283

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档