No compiler is provided in this environment. Perhaps you are running on a JRE
- 错误如下
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project teavm-metaprogramming-api: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
这是因为运行的是JRE,而不是JDK
- 解决办法
vi .bashrcexport JAVA_HOME=${HOME}/tsjdk8
export PATH=${JAVA_HOME}/bin:${PATH}
- 查看
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/uos/apache-maven-3.6.3
Java version: 1.8.0-taishan, vendor: AdoptOpenJdk, runtime: /home/tsit/tsjdk8-uos-64/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "linux", version: "4.19.0-6-amd64", arch: "amd64", family: "unix"
现在是在JDK的JRE上,就对了。
No compiler is provided in this environment. Perhaps you are running on a JRE相关推荐
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a jdk
Mven build编译报错 [ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE ...
- 命令行mvn打包的时候报错:No compiler is provided in this environment. Perhaps you are running on a JRE
一.前言 这部分是安装Elasticsearch-ik中文分词的时候,用mvn打包报错: No compiler is provided in this environment. Perhaps yo ...
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK
在eclipse中使用maven进行compile时,出现了"No compiler is provided in this environment. Perhaps you are run ...
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
eclipse编译maven项目的时候,保存信息如下: [INFO] Changes detected - recompiling the module! [INFO] Compiling 198 s ...
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? 问题
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. maven run as --install 时出错,提示信息如下: [ERROR] Faile ...
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? ide
mvn clean install -X -Dmaven.test.skip=true -P dev 打包报错: No compiler is provided in this environment ...
- Jenkins报错No compiler is provided in this environment. Perhaps you are running on a JRE rather than a
1.问题描述 全新部署的最新版jenkins,在服务器已经配置好JAVA_HOME,并且在jenkins的配置中也进行了配置,但是jenkins在执行maven构建的时候一直报错 No compile ...
- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK .
javaweb项目导出时遇到错误 错误内容: No compiler is provided in this environment. Perhaps youare running on a JRE ...
- apollo编译报错,Error No compiler is provided in this enviroment.Perhaps you are running on a JRE rather
Error No compiler is provided in this enviroment.Perhaps you are running on a JRE rather than a JDK ...
- 关于Maven项目build时出现No compiler is provided in this environment的处理
近日有同事遇到在编译Maven项目时出现 [ERROR] No compiler is provided in this environment. Perhaps you are running on ...
最新文章
- CentOS7安装配置VSFTP
- 包装类接受string 会自动将数字类型string转换成对应得包装类型
- mysql选定数据库_mysql数据库学习――2,数据库的选定,创建,删除和变更_MySQL...
- 网络营销立足于网站自身的优化与运营
- NPM依赖包版本号~和^的区别
- 一个实用的表格(锁定表头,可调整单元格大小,可排序)
- hive 百分比_HIVE短期内再次突破前高
- js,jquery字符串转换json,兼容各种浏览器
- Java字符串indexOf(int ch,int fromIndex)方法,带示例
- Elasticsearch 搜索数组字段
- 设计类网站|超实用的工具型网站!
- L3-001 凑零钱 (30 分)—团体程序设计天梯赛
- 互联网知识:工作多年的程序员都说不全
- java 设置session超时_Java设置session超时(失效)的时间
- 目录-管壳式换热器的分析与计算
- viper4android蓝牙耳机,蝰蛇音效app下载-蝰蛇音效官方版(ViPER4Android FX)下载v2.7.1.0 安卓版-单机手游网...
- 拼音加加在双拼状态下在输入数字后的标点不正常的解决方式
- OSError: dlopen
- 10099 - The Tourist Guide
- 压缩包伪装-阿里网盘禁止分享解决方案\更新日志
热门文章
- 洛谷2678跳石头----二分答案入门
- asp.net 自带 ajax,ASP.NET AJAX
- python判断是否有重复单词_Python:在字符串列表中查找未知的重复单词
- android发送短信界面,android调用系统发送短信 和 已发送短信界面
- oracle系统物料事务处理类型,Oracle_EBS_斌力十足系列_INV库存模块操作手册_杂项事务处理的分类和实际业务的应用场景专题研究报告...
- if or函数套用_excel常用函数用法解析第二篇——SUMPRODUCT、AND、OR、IF函数
- js call与apply函数
- Vue学习计划基础笔记(六) - 组件基础
- (转)android拨打电话崩溃6.0以上实时动态权限申请
- 复制:为什么你说“就差一个码农了”,我们是拒绝的