在使用eclipse 运行 maven install的时候,出现这个错误:
[ERROR] Unable to locate the Javac Compiler in:
D:\Program Files\Java\jre6\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.
解决方法:
1、在eclipse.ini文件中设置
-vm
C:\Program Files\Java\jdk1.6.0_21\jre\bin\javaw.exe
注意
要在eclipse.ini文件中-startup之前设置这一行
2、
window-->preferences-->java-->Installed JREs:将路径设置成jre的路径
重启eclipse
分享到:
相关推荐
使用assembly插件打包jar后启动时,总是出现Unable to locate Spring NamespaceHandler for XML schema....错误,网上找了各种方法都没有用,在尝试了100+失败后,解决了这个问题,在打包的jar中,META-INF目录下,...
linux gcc install 很全的linux gcc 安装,对离线安装gcc很有帮助...
selenium+firefox在定位时遇到selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: 由于是js加载页面,想确认是否是js的原因,随后进行多次调试时发现“//div”竟然也出现了...
lingo0.9破解版
Ubuntu12.04(64bit) server Oracle 11G(最新问题解决)
NULL 博文链接:https://1157718866.iteye.com/blog/2406566
copy-webpack-plugin-demo.rar 拷贝文件demo, 现成案例,可以参考使用 免积分下载地址 https://download.lllomh.com/cliect/#/product/JB23148366892270
ubuntu下mingw32交叉编译环境搭建,包含详细的步骤和执行命令行。
在本篇文章里小编给大家分享的是关于docker容器调用yum报错的解决办法,有兴趣的朋友们可以参考下。
1、Unable to locate provider for protocol: smtp –>缺少依赖造成的 <groupId>javax.mail <artifactId>mail <version>1.4 <groupId>javax.activation <artifactId>activation</artifactId>
Java 第01-02章 Java概述_Java环境配置
Spark在windows运行报错-ERROR Shell Failed to locate the winutils binary in the hadoop binary path java.io-附件资源
此文档,通过在xilinx vivado软件内的入门实验,很详细的说明vivado软件的使用过程
RegexKitLite-NoWarning 请参阅原始文档 (RegexKitLite-4.0)。 这个 fork 修复了一些警告。 执照
非常经典的linux入门教程,无需基础,是权威认证机构的教材,这只是一部分
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ...
主要介绍了Python3 venv搭建轻量级虚拟环境的步骤(图文),文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧
This book is written for IT team members who need to locate the source of network problems based on network traffic. This book provides numerous techniques used to identify the symptoms of network ...
下载opencv.zip 要提前安装依赖项。 先更新一下下载源。...errorE: unable to locate libjasper-dev 解决方法 sudo add-apt-repository “deb http://security.ubuntu.com/ubuntu xenial-security main” sudo a
The attached code shows how to locate files in a directory using the FileSystemObject. You can search just within the specified directory or include all subdirectories in the search.