eclipse使用ant编译问题
来源:互联网 发布:js控制a标签显示隐藏 编辑:程序博客网 时间:2024/05/16 14:50
注:eclipse是Mars版本
1.ant编译报Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program will exit.错误
I just installed Mars and when I tried to execute a build.xml after checking out an existing and working project I got that error message:Could not find the main class: org.eclipse.ant.internal.launching.remote.InternalAntRunner. Program will exit.
The solution is to go to Run as → External tools configuration… → JRE where the default was set to “Separate JDK”: jdk1.6.0_31 (I had set up JDKs 6-8 in Preferences after installing). I changed this to “run in the same JRE as the workspace” and now it works.
Bug fix would be to provide a working default configuration with setup. Configuration should be in a way it does not break if the user adds additional JDKs to Preferences.
原文地址:https://bugs.eclipse.org/bugs/show_bug.cgi?id=472599
2.ant编译报JRE version less than 1.7 is not supported错
解决方法:http://stackoverflow.com/questions/31052878/run-eclipse-mars-with-java-1-6
- eclipse使用ant编译问题
- Eclipse使用ant编译时的乱码问题
- 使用Ant编译Eclipse源代码
- 问题记录:编译:eclipse和ant
- eclipse ant 编译 中文乱码问题
- 使用Ant编译Eclipse源代码(续)
- 使用Ant编译Hadoop eclipse插件
- eclipse plugin 中使用ant 进行编译(执行 javac)的问题
- 使用ant编译之签名问题
- eclipse 下使用ant时basedir 问题
- Linux下用eclipse的ant编译环境问题
- ant 编译 hadoop eclipse plugin 并修改权限问题
- 在Eclipse中使用Ant来自动编译J2me程序
- 解决Eclipse下使用ANT编译提示OutOfMemory
- 解决Eclipse下使用ANT编译提示OutOfMemory
- 在Eclipse下使用Ant编译Flex程序
- Windows平台上使用ANT编译Hadoop Eclipse Plugin
- ANT 编译编码问题
- 高质量C++编程之第3章 命名规则
- Android BaseAdapter with Fragment
- iOS 内存管理 与__bridge
- c#线程池详解
- Git之查看配置文件--如fatal:unable to read config file
- eclipse使用ant编译问题
- Burp Suite使用介绍——准备工作
- jquery图片轮播效果代码
- Oracle的四个主要用户
- DAPM之一:概述
- IOS-47-动态改变UIView高度最简单的方法
- eclipse进行Debug的时候,发出“java breakpoint unable to install breakpoint”错误
- Xcode 7免证书真机调试
- Appium的一点一滴:Android KEYCODE键值