How to Start TWS from its JTS folder...

Discussion in 'Retail Brokers' started by risktaker, May 15, 2009.

  1. Most windows programs have an ".exe" executable in their folders. I don't see one for TWS in the C:\jts folder. How do you start it other than from desktop icon or usual windows start button??
     
  2. Bob111

    Bob111

    i'm not an expert, but it's java application..even when it's running-you ar not going to see .exe processes in task manager..you will see java running..exe is probably for applications written on windows based software.like my stuff,written in VB6 and compiled is having exe extensions.
    what happens? you delete shortcut by accident? :)
     
  3. ids

    ids

    Right click on the desktop icon, pick Properties, and look at the Target.
     
  4. Bob is correct. Its a java app so you need to boot javaw and append appropriate commands. You could run it with a command line like:

    Code:
    C:\WINDOWS\system32\javaw.exe  -cp jts.jar;pluginsupport.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;riskfeed.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx512M jclient/LoginFrame R:\Jts
    but you need to substitute your location for the jts folder and perhaps javaw.


    Or you could get more adventurous and try a command like:


    Code:
    Run ( 'M:\Program Files\Java\jre6\bin\javaw.exe -cp jts.jar;pluginsupport.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;riskfeed.jar;rss.jar -Dsun.java2d.noddraw=False -Xmx512M -Xss128k -Xms256m -server -XX:-DontCompileHugeMethods -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+ExplicitGCInvokesConcurrent jclient/LoginFrame R:\JTS', 'R:\JTS' )
     
  5. I ended up moving the javaw.exe program to the folder that TWS insisted on looking.
     
  6. I'd like to run tws in a kind of "portable" and encrypted mode and am studying how to start it without the usual desktop icon.


     
  7. I'm going to just put the tws start up icon in the /jts folder (kind of like the .exe thing) it should work.

    Thanks guys!


     
  8. Nexen

    Nexen

    Every day I pray that IB comes with a non Java solution for their software.

    I can't stomach it.
     
  9. I actually like their program a lot. 'Been using it for almost 10 years now. I use it every day and it's rock-solid.


     
  10. I'm now sure how much work you want to do to accomplish this but here is a tool that Java programmers use regularly to do just what you want:

    http://www.duckware.com/jexepack/index.html

    This enables you to create a "normal" Windows exe file (using IB's jar's) which you can simply double click to launch, and it can be on an encrypted USB drive or anywhere you want.
     
    #10     May 15, 2009