How to install thinkorswim .sh file?

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Failheart
Level 1
Level 1
Posts: 3
Joined: Thu Nov 11, 2010 5:47 pm

How to install thinkorswim .sh file?

Post by Failheart »

I downloaded the thinkorswim_other_installer.sh file and not sure what do do next to open and install this file.....need some help.
User avatar
Miami592
Level 2
Level 2
Posts: 95
Joined: Mon Jul 11, 2011 4:38 pm

Re: How to install thinkorswim .sh file?

Post by Miami592 »

Try doubleclicking it.

If nothing happens right click and look under properties. Set it to run as executable.

Hope that helps.

Miami592
HP a6619f, 4GB ram, 500 GB HDD, Nvidia GeForce 930 GS
Mint 13 Cinnamon 64
Failheart
Level 1
Level 1
Posts: 3
Joined: Thu Nov 11, 2010 5:47 pm

Re: How to install thinkorswim .sh file?

Post by Failheart »

the file doesn't want to work
User avatar
Pilosopong Tasyo
Level 6
Level 6
Posts: 1435
Joined: Mon Jun 22, 2009 3:26 am
Location: Philippines

Re: How to install thinkorswim .sh file?

Post by Pilosopong Tasyo »

If you do a search for thinkorswim_other_installer.sh in Google search, it should give you some sites about it, one of which have instructions how to install it (Trading With Linux blog).
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
rich2005
Level 3
Level 3
Posts: 183
Joined: Sun Nov 07, 2010 5:22 am

Re: How to install thinkorswim .sh file?

Post by rich2005 »

@ Failheart There are instructions here:

https://mediaserver.thinkorswim.com/ins ... stall.html

A quick search and could not find thinkorswim_other_installer.sh but did find
thinkorswim_installer.sh so I will use that name from now on. Substitute yours as appropriate.

So a test install in a virtual LM11 (dont want to screw up a real machine)

First thing cd to where you downloaded the script.
run it with
sh thinkorswim_installer.sh
If java is not available it will tell you. If required go and install it (it also calls up a lot of depedencies)

some screenshots of that bit. http://i.imgur.com/S8gdo.jpg

with java available, again
sh thinkorswim_installer.sh
The thinkorswim installer will want to install to /opt/thinkorswim If you want to let it go there, IMHO a better place for a java app is in your home folder - it is up to you.

When the installation is finished it will automatically check for an update.

screenshots of this http://i.imgur.com/k5mIK.jpg

Finally the desktop link will probably be broken, right click, go to properties and make it executable.

screenshots http://i.imgur.com/Nwuid.jpg

and that is as far as I can go because I do not have an account. Hope this helps.
jaredfelix
Level 1
Level 1
Posts: 31
Joined: Fri Sep 11, 2009 11:31 am

Re: How to install thinkorswim .sh file?

Post by jaredfelix »

Code: Select all

jared-D610 Downloads # sh thinkorswim_installer.sh
testing JVM in /usr ...
Starting Installer ...
java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1045)
	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
	at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
	at com.install4j.runtime.installer.Installer.main(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.Launcher.main(Unknown Source)
Caused by: java.awt.HeadlessException
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
	at java.awt.Button.<init>(Button.java:152)
	at java.awt.Button.<init>(Button.java:139)
	at com.install4j.runtime.installer.frontend.WizardScreenExecutor.initAWT(Unknown Source)
	at com.install4j.runtime.installer.frontend.WizardScreenExecutor.<init>(Unknown Source)
	at com.install4j.runtime.installer.frontend.InstallerWizardScreenExecutor.<init>(Unknown Source)
	at com.install4j.runtime.installer.Installer$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	at java.awt.EventQueue.access$000(EventQueue.java:96)
	at java.awt.EventQueue$1.run(EventQueue.java:608)
	at java.awt.EventQueue$1.run(EventQueue.java:606)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Could not display the GUI. This application needs access to an X Server.
If you have access there is probably an X library missing.
*******************************************************************
You can also run this application in console mode without
access to an X server by passing the argument -c
*******************************************************************
An error occurred:
java.lang.RuntimeException
Error log: /tmp/install4jError4805910515809452485.log
jared-D610 Downloads # 
Could I get some help?

2nd Try.... after resetting permission.. ugh

Code: Select all

ared@jared-D610 ~ $ ./thinkorswim_installer.sh
Starting Installer ...
java.lang.reflect.InvocationTargetException
	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1045)
	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1347)
	at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
	at com.install4j.runtime.installer.Installer.main(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
	at com.install4j.runtime.Launcher.main(Unknown Source)
Caused by: java.awt.HeadlessException
	at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
	at java.awt.Button.<init>(Button.java:152)
	at java.awt.Button.<init>(Button.java:139)
	at com.install4j.runtime.installer.frontend.WizardScreenExecutor.initAWT(Unknown Source)
	at com.install4j.runtime.installer.frontend.WizardScreenExecutor.<init>(Unknown Source)
	at com.install4j.runtime.installer.frontend.InstallerWizardScreenExecutor.<init>(Unknown Source)
	at com.install4j.runtime.installer.Installer$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:216)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647)
	at java.awt.EventQueue.access$000(EventQueue.java:96)
	at java.awt.EventQueue$1.run(EventQueue.java:608)
	at java.awt.EventQueue$1.run(EventQueue.java:606)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:617)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Could not display the GUI. This application needs access to an X Server.
If you have access there is probably an X library missing.
*******************************************************************
You can also run this application in console mode without
access to an X server by passing the argument -c
*******************************************************************
An error occurred:
java.lang.RuntimeException
Error log: /tmp/install4jError8223438280107149810.log
rich2005
Level 3
Level 3
Posts: 183
Joined: Sun Nov 07, 2010 5:22 am

Re: How to install thinkorswim .sh file?

Post by rich2005 »

I gave this another try in a clean LM11 virtual machine, so not affected by any previous goes.

Best if you say which LM you are using, might help

The error log looks like there is a problem with java, so check that.
The reference to xorg - dont know, but it did indicate that you could use a non-graphical installer with that -c switch. Try adding that to the end of the command.
Otherwise
Maybe they have changed the installer, don't know don't keep these things.
But
this time it wanted to install in /opt so you need to be root to run the installer.
in the console do a sudo -i to get a root prompt
navigate to where the installer is, something like
cd /home/jared-D610/Downloads
then run it as before
seems to work ok.
FWIW some screenshots http://i.imgur.com/sKVdZ.jpg

best of luck
User avatar
Miami592
Level 2
Level 2
Posts: 95
Joined: Mon Jul 11, 2011 4:38 pm

Re: How to install thinkorswim .sh file?

Post by Miami592 »

Can't speak for thinkorswim.sh but I had similar java issues with webex on Katya & Lisa,

Had no problems when I installed on Isadora (9 LTS).

Peculiar.
HP a6619f, 4GB ram, 500 GB HDD, Nvidia GeForce 930 GS
Mint 13 Cinnamon 64
rich2005
Level 3
Level 3
Posts: 183
Joined: Sun Nov 07, 2010 5:22 am

Re: How to install thinkorswim .sh file?

Post by rich2005 »

yeah, I was thinking it could be a particular issue with an edition also 32/64 bit, Although does seen to work with LM11 32bit.

Anyway I caught up with what I needed to do.

@jaredfelix
If you do ever get it installed and looking at where the installer puts the files - /opt/thinkorswim. There is a bash file for starting it up.

On this VM it needed to be root to run, the update checker would not otherwise connect, so no login. Don't like that very much. Up to you.

started ok from a terminal with a straight
sudo thinkorswim

screenshot http://i.imgur.com/oGFef.jpg

be careful with this one.
jaredfelix
Level 1
Level 1
Posts: 31
Joined: Fri Sep 11, 2009 11:31 am

Re: How to install thinkorswim .sh file?

Post by jaredfelix »

I am on the very latest version of mint... Ill try what you said, I was in root the whole time previously as well.

Code: Select all

jared@jared-D610 ~ $ java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10.2)
OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)
could that be a problem? I forgot i was running iced tea.
damn all I need is the Level 2 services, maybe theres another program I can use for this that is free?
jaredfelix
Level 1
Level 1
Posts: 31
Joined: Fri Sep 11, 2009 11:31 am

Re: How to install thinkorswim .sh file?

Post by jaredfelix »

HA! no way! I cant believe it went through simply by adding -c at the end however im having problem launching it may have to set it as read and write? i have the desktop icon
rich2005
Level 3
Level 3
Posts: 183
Joined: Sun Nov 07, 2010 5:22 am

Re: How to install thinkorswim .sh file?

Post by rich2005 »

Going back to earlier post when it installed to a local directory
edit: looking back it did install to /opt, I probably screwed up the install second time around.
the desktop icon did not work then either but it started it manually from command line.

The second go, where it installed into /opt/thinkorswim would only start as root using that bash file "thinkorswim". Open a terminal, (maybe navigate to /opt/sinkorswin) and run sudo thinkorswim
pegasis
Level 4
Level 4
Posts: 289
Joined: Fri Dec 26, 2014 12:56 pm

Re: How to install thinkorswim .sh file?

Post by pegasis »

I did these instructions

https://mediaserver.thinkorswim.com/ins ... stall.html

but when I double click the tos icon the program does not launch?

I am missing something
Post Reply

Return to “Software & Applications”