Liferay7启动报错There is an error in invoking javac.
来源:互联网 发布:wireshark是什么软件 编辑:程序博客网 时间:2024/06/08 00:11
在Liferay7通过eclipse启动后报错,在后台出现如下错误:
PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
在前台看到的是如下界面:
出现这个原因是Liferay7的运行需要的不仅仅是JRE,而是需要的是JDK,在eclipse里面默认情况下是加载的JRE。
第一步:在eclipse的界面中,双击如下位置。
第二步:此时会打开如下界面,点击Runtime Environment。
第三步:在新打开的界面中,点击Installed JRE-->Add-->Standard VM,在此界面中点击Directory,找到我们的JDK的安装目录,虽然前面写的是JRE,但是这里要选择JDK。完成后点击finish。
第四步:回到第二步里面,点击Runtime Environment,在这里选择我们的JDK作为JRE,如下图,完成后点击finish。在第二步那个界面里面按一下ctrl+s,将我们的配置保存下来。
第五步:现在重启Liferay 7,就一切正常了。
阅读全文
0 0
- Liferay7启动报错There is an error in invoking javac.
- PWC6345: There is an error in invoking javac
- There is an error in invoking javac. A full JDK (not just JRE) is required...
- There is an error in invoking javac. A full JDK (not just JRE) is required
- There is an error in invoking javac. A full JDK (not just JRE) is required问题解决
- There is an error in invoking javac. A full JDK (not just JRE) is required问题解决
- PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
- Jetty 500 错误 Jetty7(java.err.nojd) Jetty8(There is an error in invoking javac)解决方法
- jetty访问jsp页面出现( PWC6345: There is an error in invoking javac)
- jetty访问jsp页面出现(PWC6345: There is an error in invoking javac)
- [Java开发] jetty访问jsp页面出现( PWC6345: There is an error in invoking javac)
- MAVEN 部署编译问题(There is an error in invoking javac. A full JDK (not just JRE) is required)
- jetty 跑 Java Exception:"PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is r
- jetty8不能编译jsp:PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
- org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not ju
- org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not ju
- org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not ju
- org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not ju
- 把sublime text打造成python交互终端
- 解决Python2.7的UnicodeEncodeError: ‘ascii’ codec can’t encode异常错误
- linux shell 编程(一)
- Delphi FastReport动态加载图片
- linux shell编程(二) 条件测试
- Liferay7启动报错There is an error in invoking javac.
- MYSQL性能优化之Mysql数据库高可用架构设计之MMM架构设计(上)
- linux shell编程(三) if 和 for
- Android获取当前毫秒值
- Linux安装mysql5.7.12
- Build Antlr4 projects with eclipse java project template.
- linux开机过程
- linux 磁盘管理与文件系统
- Java订单号生成策略(基于消息队列)