<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Squid Options &#187; Java</title>
	<atom:link href="http://squidoptions.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://squidoptions.com</link>
	<description>Squids, the smartest animal in the ocean</description>
	<lastBuildDate>Sun, 21 Feb 2010 04:44:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing IB TWS on Linux</title>
		<link>http://squidoptions.com/2007/03/26/installing-ib-tws-on-linux/</link>
		<comments>http://squidoptions.com/2007/03/26/installing-ib-tws-on-linux/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 03:46:49 +0000</pubDate>
		<dc:creator>Squid</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://squidoptions.com/2007/03/26/installing-ib-tws-on-linux/</guid>
		<description><![CDATA[I have been using TWS for a while and the biggest problem I have is not TWS, but Windows. I secretly believe that Microsoft is trying to screw anything written in Java on Windows. So I am running Linux ( XUbuntu ) and it is very stable, so I decided to try to run TWS [...]


Related posts:<ol><li><a href='http://squidoptions.com/debian-packages-for-quants/' rel='bookmark' title='Permanent Link: Debian packages for Quants'>Debian packages for Quants</a> <small>Quantian is a Knoppix distribution with tons f stuff in...</small></li><li><a href='http://squidoptions.com/2008/02/11/michael-trader/' rel='bookmark' title='Permanent Link: Michael Trader'>Michael Trader</a> <small>Since Michael was kind enough to write about my blog,...</small></li><li><a href='http://squidoptions.com/2007/04/21/economic-comedian/' rel='bookmark' title='Permanent Link: Economic Comedian'>Economic Comedian</a> <small>I have been taking care of the family at the...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I have been using TWS for a while and the biggest problem I have is not TWS, but Windows. I secretly believe that Microsoft is trying to screw anything written in Java on Windows. So I am running Linux ( XUbuntu ) and it is very stable, so I decided to try to run TWS on this machine.</p>
<p>The first couple of attempts did not turn out with much success.  The browser always had a problem, or the java clone wouldn&#8217;t work. Whatever. This weekend, I installed Interactive Brokers TWS on my Linux box.</p>
<p>So download Java from Sun <a href="http://java.sun.com">Sun</a>. I say Java and not the other Java clones because in my exp. , Java from sun works better with Java WebStart.</p>
<p>IB Trader Workstation uses a Java technology called WebStart. When you download TWS ( browser version ) you are actually downloading a file that tells Java from where to download the actual file. Java then download the application into a temporary area and runs the program from there. Now this temporary area is called the Cache, and it keeps programs you have run saved there. Why does is store them in a cache ? Because every time you start Trader Workstation, Java checks to see if a newer version exists, and if so downloads it and updates the program in the cache. This is the beauty of Java Web Start. You always have the latest version of TWS on your machine.</p>
<p>So from the IB website, download the browser version of TWS. You will then have a file called tws.jnlp. This is the Java WebStart file that we will be using to run TWS.</p>
<p>First thing we have to do is associate the jnlp file with the java web start program <strong>javaws.</strong></p>
<p>Right click on the tws.jnlp file, Select &#8220;Open With Another Application&#8221;.</p>
<p><a href='http://squidoptions.com/wp-content/uploads/2007/03/tws1.png' title='tws1.png' rel="lightbox[17]"><img src='http://squidoptions.com/wp-content/uploads/2007/03/tws1.png' alt='tws1.png' /></a></p>
<p>Now you have to select &#8220;Custom Command&#8221; and select <strong>javaws</strong>.  This will be in the location where you installed java in a folder also called javaws.</p>
<p><a href='http://squidoptions.com/wp-content/uploads/2007/03/tws3.png' title='tws3.png' rel="lightbox[17]"><img src='http://squidoptions.com/wp-content/uploads/2007/03/tws3.png' alt='tws3.png' /></a></p>
<p>Now that you have donw that, any time you click on the tws.jnlp file, TWS will check to see if a newer version exists on IB, download if necessary, install and run.</p>
<p>If you have any problems, first make sure you have java installed correctly.</p>
<p>Finally, if you want to check to make sure you have done everything correctly, right click on the jnlp file and select <strong>properties&#8230;</strong>. The application to run this should be &#8216;javaws&#8217;.</p>
<p><a href='http://squidoptions.com/wp-content/uploads/2007/03/tws2.png' title='tws2.png' rel="lightbox[17]"><img src='http://squidoptions.com/wp-content/uploads/2007/03/tws2.png' alt='tws2.png' /></a></p>
<p>Enjoy!</p>
<p><em>~squid</em></p>


<p>Related posts:<ol><li><a href='http://squidoptions.com/debian-packages-for-quants/' rel='bookmark' title='Permanent Link: Debian packages for Quants'>Debian packages for Quants</a> <small>Quantian is a Knoppix distribution with tons f stuff in...</small></li><li><a href='http://squidoptions.com/2008/02/11/michael-trader/' rel='bookmark' title='Permanent Link: Michael Trader'>Michael Trader</a> <small>Since Michael was kind enough to write about my blog,...</small></li><li><a href='http://squidoptions.com/2007/04/21/economic-comedian/' rel='bookmark' title='Permanent Link: Economic Comedian'>Economic Comedian</a> <small>I have been taking care of the family at the...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://squidoptions.com/2007/03/26/installing-ib-tws-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
