2017-11-11 267 views
-1

大家好我正在尝试安装IB api软件,但是我面临一个问题,我不知道是什么!在ubuntu上安装TWS 16.04

这里安装过程:

面对错误:

No suitable Java Virtual Machine could be found on your system. 
Downloading JRE with wget ... 
--2017-11-11 13:26:12-- https://download2.interactivebrokers.com/installers/jres/linux-x64-1.8.0_152.tar.gz 
Resolving download2.interactivebrokers.com (download2.interactivebrokers.com)... failed: No address associated with hostname. 
wget: unable to resolve host address ‘download2.interactivebrokers.com’ 
Unpacking JRE ... 

gzip: jre.tar.gz: unexpected end of file 
tar: ../jre.tar: Cannot open: No such file or directory 
tar: Error is not recoverable: exiting now 
Starting Installer ... 
./tws-latest-linux-x64.sh: 613: ./tws-latest-linux-x64.sh: /home/user1/Downloads/tws-latest-linux-x64.sh.8674.dir/jre/bin/java: not found 

任何帮助?

+0

Stack Overflow是编程和开发问题的网站。这个问题似乎与题目无关,因为它不涉及编程或开发。请参阅帮助中心的[我可以询问哪些主题](http://stackoverflow.com/help/on-topic)。也许[超级用户](http://superuser.com/)或[Unix&Linux堆栈交换](http://unix.stackexchange.com/)会是一个更好的地方。 – jww

回答

0

你在防火墙后面吗?设置代理

出口https_proxy =代理:端口 出口HTTP_PROXY =代理:端口

否则只是手动安装JVM以满足这一要求。

您也可以将代理添加到wget命令中。