Package Details: ib-tws 1:10.34.1c-2

Git Clone URL: https://aur.archlinux.org/ib-tws.git (read-only, click to copy)
Package Base: ib-tws
Description: Electronic trading platform from discount brokerage firm Interactive Brokers (IBKR)
Upstream URL: http://interactivebrokers.com/
Licenses: custom
Submitter: benalexau
Maintainer: benalexau
Last Packager: benalexau
Votes: 43
Popularity: 0.087550
First Submitted: 2013-01-30 06:21 (UTC)
Last Updated: 2025-02-14 23:11 (UTC)

Latest Comments

1 2 3 4 5 6 .. 22 Next › Last »

uli commented on 2025-02-15 20:30 (UTC)

TWS version 10.34.1c-2 works for me without further actions. Thank you all for help and comments.

zwindl commented on 2025-02-15 13:38 (UTC)

@benalexau, ahhh, I see, ibkr maintained its own java runtime, that's the reason why I couldn't affect it by archlinux-java. I deleted the aur cache and the log4j cache, rebuilt it, now it works just fine. Thanks for the help!

benalexau commented on 2025-02-15 12:13 (UTC)

@zwindl I suspect there is something problematic with the package when it is being built on your machine. If you have a look at https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ib-tws#n44 there is logic which attempts to detect the Java bundled with TWS. It has been important for a few years now to use the exact Java that was bundled by IB (historically this package just used shared Java installations, but IB stuck with Java 8 until TWS 10.34.1a and it caused far too many problems to share Java 8). I'd suggest trying to build the package again and reviewing the log messages to see which Java it is detecting from the TWS archive. If you still have issues, please paste the log messages here so I can have a closer look.

zwindl commented on 2025-02-15 08:18 (UTC) (edited on 2025-02-15 08:19 (UTC) by zwindl)

@benalexau so weird, the output of /usr/share/ib-tws/jre/bin/java -version on my console prints:

java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

After changing the java path to /usr/bin/java (which is java-23-jdk) in /usr/bin/ib-tws manually, run ib-tws again it will report:

WARNING: Unknown module: javafx.web specified to --add-exports
WARNING: Unknown module: javafx.media specified to --add-exports
WARNING: Unknown module: javafx.media specified to --add-exports
WARNING: Unknown module: javafx.media specified to --add-exports
WARNING: Unknown module: javafx.media specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-opens

and hang there.

benalexau commented on 2025-02-15 07:16 (UTC)

@zwindl this should not occur. Version 1:10.34.1c-2 provides /usr/bin/ib-tws which now includes --add-opens and --add-exports parameters as required by the new Java 17 shipped in recent TWS distributions. The package ensures /usr/share/ib-tws/jre/bin/java is the same Java as provided in the TWS distribution. If you execute /usr/share/ib-tws/jre/bin/java -version it should report (as of 1:10.34.1c-2) openjdk version "17.0.10.0.101" 2024-04-16 LTS. Java 17 can handle those parameters, so the error message suggests you are executing an earlier version of Java for an unknown reason. If you manage to login to TWS, try Help > About to see which Java it reports there (it should be 17.0.10.0.101 at present).

zwindl commented on 2025-02-15 05:21 (UTC)

Anyone met the Unrecognized option: --add-opens=java.base/java.util=ALL-UNNAMED issue when starting up?

benalexau commented on 2025-02-14 23:15 (UTC)

ib-tws 1:10.34.1c-2 fixes the recent reports of startup failure (eg InaccessibleObjectException, no progress after the login is complete etc).

axsc commented on 2025-02-14 13:48 (UTC) (edited on 2025-02-14 13:49 (UTC) by axsc)

==> Making package: ib-tws 1:10.34.1b-1 (Fri 14 Feb 2025 06:43:22 AM MST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found LICENSE
  -> Found ib-tws
  -> Found ib-tws.conf
  -> Found ib-tws.desktop
  -> Found ib-gw
  -> Found ib-gw.conf
  -> Found ib-gw.desktop
  -> Found tws-10.34.1b-standalone-linux-x64.sh
==> Validating source files with sha256sums...
    LICENSE ... Passed
    ib-tws ... Passed
    ib-tws.conf ... Passed
    ib-tws.desktop ... Passed
    ib-gw ... Passed
    ib-gw.conf ... Passed
    ib-gw.desktop ... Passed
    tws-10.34.1b-standalone-linux-x64.sh ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: ib-tws-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
ib-tws - exit status 1

dunhill52 commented on 2025-02-13 16:35 (UTC)

I can confirm I also have the InaccessibleObjectException problem too. Mystery has not fixed it for me either.

rellieberman commented on 2025-02-12 20:00 (UTC)

Anyone else experiencing this? It did not fix itself mysteriously on my system :( ...