2017-11-11 328 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命令中。