gpt4 book ai didi

java - 在 ubuntu 16.04 上安装 TWS

转载 作者:太空宇宙 更新时间:2023-11-04 12:16:39 30 4
gpt4 key购买 nike

大家好,我正在尝试安装 IB api 软件,但我遇到了一个问题,我不知道是什么!!

这里是安装过程:

面临的错误:

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

有什么帮助吗?

最佳答案

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

导出 https_proxy=proxy:port导出 http_proxy=代理:端口

否则只需手动安装 jvm 即可满足该要求。

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

关于java - 在 ubuntu 16.04 上安装 TWS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47237436/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com