由于服务器环境使用的jdk时1.7版本,但presto需要使用jdk1.8。
因此,通过修改presto安装目录如: /presto/bin/launther
修改launther,引入jdk1.8。
vim launther
PATH=/jdk安装目录/bin:$PATH
exec "$(dirname "$0)/launcher.py" "$@"
由于服务器环境使用的jdk时1.7版本,但presto需要使用jdk1.8。
因此,通过修改presto安装目录如: /presto/bin/launther
修改launther,引入jdk1.8。
vim launther
PATH=/jdk安装目录/bin:$PATH
exec "$(dirname "$0)/launcher.py" "$@"