Downloaded Linux program for IB TWS / How to install?

Dear-

After getting Linux Ubuntu, I downloaded IB TWS from IB site.

Due to my lack of Linux experience,

1) Unlike self-executing in Windows 7, how can I run the downloaded binary file?

2) Do I need to use Linux terminal (line command)? If so, where is explanatory website?

Thanks in advance.

-Jay
 
Last edited:
https://www.interactivebrokers.com/en/?f=/en/control/systemstandalone.php?os=unix

1 + 2) To run, yes type this in the terminal (including the dot at the end of the line):

java -cp jts.jar:total.2013.jar -Xmx512M -XX:MaxPermSize=128M jclient.LoginFrame .

You may need Oracle (Sun) Java instead of the open version included as standard with Ubuntu - not sure what the status on this is?

Once working create a script / menu item to run it.


Probably JAVA is not installed in my new Ubuntu, since I do NOT know the command if needed.

Appreciated if you let me know the command (bold as above) after downloading JAVA binary.
Thanks in advance.
 
To verify Java is not already installed:

Code:
java -version

Will either display version details or java: command not found


You could then do something like the following to install Java:

Code:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04

At this point do java -version again to verify Java is installed.

Then follow the steps on the TWS Download Instructions for UNIX page and it should work.
 
Last edited:
Here is the response, when I type java -version.


The program 'java' can be found in the following packages:
* default-jre
* gcj-4.6-jre-headless
* gcj-4.7-jre-headless
* openjdk-7-jre-headless
* openjdk-6-jre-headless
Try: sudo apt-get install <selected package>

****************************************

I do NOT even know what it means.
 
Here is the response, when I type java -version.


The program 'java' can be found in the following packages:
* default-jre
* gcj-4.6-jre-headless
* gcj-4.7-jre-headless
* openjdk-7-jre-headless
* openjdk-6-jre-headless
Try: sudo apt-get install <selected package>

****************************************

I do NOT even know what it means.

Because Java is not installed it's suggesting the packages you could install.

I believe IB does not (officially) support OpenJDK. The commercial / Oracle version is therefore the one you most probably want.

Follow the instructions above or similar to install Oracle Java!
 
Last edited:
Back
Top