./asadmin: 52: exec: java: not found
来源:互联网 发布:中越海警船 知乎 编辑:程序博客网 时间:2024/04/28 03:34
安装glassfish4.1的过程中,解压后执行./asadmin start-domain
启动glassfish时报错:
./asadmin: 52: exec: java: not found
glassfish找不到java路径。
解决方法:
- 确认已安装java
- 修改./glassfish4/config/asenv.conf,在文件末尾添加:
AS_JAVA="/usr/java/jdk1.6.0"
(你的java路径)
0 0
- ./asadmin: 52: exec: java: not found
- exec: g++: not found
- ../depcomp: line 571: exec: g++: not found
- depcomp: line 571: exec: g++: not found
- depcomp: line 571: exec: g++: not found
- PHP脚本Apache用户下执行Java命令报exec: java: not found
- CMDTUX_CAT:816: ERROR: Cannot exec, executable file not found
- 解决 安装 MYSQL exec: g++: not found 报错
- exec: "hg": executable file not found in %PATH%
- exec: arm-none-linux-gnueabi-gcc: not found
- java source not found
- gogland出现could not launch process: exec: "lldb-server": executable file not found in $PATH错误
- -bash java command not found
- Java Eclipse source not found
- 使用gitk命令时报错“/usr/local/bin/gitk: 3: exec: wish: not found”
- 安装memtester报错:./compile: line 3: exec: cc: not found解决办法
- 调试go语言出现:exec: "gcc": executable file not found in %PATH%
- java.lang.NullPointerException: Module 'null' not found
- Android SDK Manager Extras中没有 Intel x86 Emulator Accelerator (HAXM installer)
- ES6的一些常用特性
- 用于 TI Stellaris 和 Concerto 微控制器可扩展的 RTOS 解决方案
- SpringMVC02-Controller与RequestMapping
- Python访问Mysql分表数据的方法示例
- ./asadmin: 52: exec: java: not found
- XAMPP的使用
- Linux安装man
- 基于 Android NDK 的学习之旅-----Android.mk 介绍
- java 堆栈的区别
- SwipeRefreshLayout与ExpandableListView的学习
- 【Leetcode】517. Super Washing Machines
- PHP类与对象
- centos7安装mysql和mysql-connector-c++