java virtual machine installer,安装提示JAVA虚机问题:No Java virtual machine could be found

安装提示JAVA虚机问题:No Java virtual machine could be found

在某些情况下,安装GBase 8t或者CSDK客户端时提示:

Preparing to install...

Extracting the JRE from the installer archive...

Unpacking the JRE...

Extracting the installation resources from the installer archive...

Configuring the installer for this system's environment...

No Java virtual machine could be found from your PATH

environment variable. You must install a VM prior to

running this program.

错误提示信息无法找到JAVA VM,但是GBase 8t安装包本身包含了JRE,应该是可正常执行安装过程的。

正常情况下,自带的JRE将在安装过程中,自动解压到 /tmp/install.dir.X 目录,需要确认是否正常。

有些情况,由于/tmp文件系统的一些不太明确的原因(比如是否有执行权限 x),导致无法正常的解压自带的JRE到tmp目录。

我们可以尝试通过环境变量,换一个有执行权限的目录,通过IATEMPDIR定义,如/mytmp。

另外,/usr/lib64:/lib64 是有必要的,可以解决一些特点产品bug问题。

export IATEMPDIR=/mytmp

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64:/lib64 ./ids_install

Preparing to install...

Extracting the JRE from the installer archive...

Unpacking the JRE...

Extracting the installation resources from the installer archive...

Configuring the installer for this system's environment...

Launching installer...

Preparing CONSOLE Mode Installation...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值