Liferay:Please set the environment variable ANT_OPTS to the recommended value of
来源:互联网 发布:可以编曲的软件 编辑:程序博客网 时间:2024/05/09 12:13
Liferay在编译时会出现的问题内存不够提示:
Please set the environment variable ANT_OPTS to The recommended value of “-Xmx1024m -XX:MaxPersize=512m”.
这个提示是JVM的参数设置太小不够Liferay的使用!
解决方法是:选中工程内的build.xml点右键,
-->Run as-->External tool Configurations 在右边找到Environment,
点新建在name里输入 ANT_OPTS value中输入 -Xmx1024m -XX:MaxPersize=512m
阅读全文
0 0
- 运行Liferay报错:Please set the environment variable ANT_OPTS to the recommended value of
- 运行Liferay报错:Please set the environment variable ANT_OPTS to the recommended value of
- Liferay:Please set the environment variable ANT_OPTS to the recommended value of
- Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "te
- the environment variable java_home (with the value of ) does not point to a valid jvm installation
- 启动Dsedit报错:“Fail to initialize LIBTCL.DLL Please make sure the SYBASE environment variable is set co
- The environment variable JAVA_HOME(with the value of xxx) does not point to a valid JVM installation
- Oracle:environment variable "PATH" does not exceed the recommended length
- mysql:Variable 'character_set_client' can't be set to the value of 'NULL'解决
- Variable ‘time_zone’ can’t be set to the value of ‘NULL’解决方法
- [mysql] 批量导入提示: Variable ‘character_set_client’ can’t be set to the value of ‘NULL
- Error: JAVA_HOME not found in your environment. Please set the JAVA_HOME variable in your environmen
- export variable if the child shell wanted to inherit the environment variables of parent shell
- set command will return the value of the argument( variable, actually )
- If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
- Configure the environment variable
- The CATALINA_HOME environment variable
- The http_proxy Environment Variable
- 关于favicon的那点事
- 输入一个十进制整数,统计其中二进制1的个数
- 谈一谈Go的函数function的使用方法
- 【mybatis】批量更新失败
- 做机械臂导航遇到的问题3:如何用arbotix接口控制机械臂
- Liferay:Please set the environment variable ANT_OPTS to the recommended value of
- oracle创建表空间
- 在eclipse不小心删掉了java文件怎么找回?
- Tomcat捕获Nginx反向代理协议IP及端口配置
- C#简介
- 修改Ubuntu mysql的root密码或权限
- 关于numpy的部分案例
- android 百分数与进度显示
- mysql5.7.20安装报不能移除旧版本问题解决