<?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>VerySimple &#187; OSX</title>
	<atom:link href="http://verysimple.com/category/operating-systems/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://verysimple.com</link>
	<description>Custom Software Development</description>
	<lastBuildDate>Wed, 18 Aug 2010 23:16:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing LAMP stack on OSX 10.6 Snow Leopard</title>
		<link>http://verysimple.com/2009/09/18/installing-lamp-stack-on-osx-10-6-snow-leopard/</link>
		<comments>http://verysimple.com/2009/09/18/installing-lamp-stack-on-osx-10-6-snow-leopard/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 21:55:19 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=414</guid>
		<description><![CDATA[I&#8217;m setting up a new machine and found a great tutorial written by Josh Lockhart on getting a PHP web development environment up and running on Snow Leopard.  This goes through almost everything to be up and running for a typical LAMP stack with unit testing using all of the default services. Josh&#8217;s instructions include [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m setting up a new machine and found a great tutorial written by Josh Lockhart on <a href="http://www.newmediacampaigns.com/page/install-pear-phpunit-xdebug-on-macosx-snow-leopard" target="_blank">getting a PHP web development environment up and running on Snow Leopard</a>.  This goes through almost everything to be up and running for a typical LAMP stack with unit testing using all of the default services.</p>
<p>Josh&#8217;s instructions include everything that I need except mcrypt.  Luckily Michael Gracie has provided a walk-through for <a href="http://michaelgracie.com/2009/09/23/plugging-mcrypt-into-php-on-mac-os-x-snow-leopard-10.6.1/" target="_blank">installing mcrypt on Snow Leopard</a> which involves re-compiling some things, but isn&#8217;t as tough as it first appears.</p>
<p>After getting PHP and mcrypt going, the last step for me is setting up MySQL which has some caveats on OSX.  The main problem is that the MySQL installer places the mysql.sock file in a non-standard place and so you have to either <a href="http://www.verysimple.com/blog/2009/01/07/php-on-os-cant-connect-to-local-mysql-server-through-socket-varmysqlmysqlsock/">create a link or alter your php.ini file</a> before PHP will be able to talk to MySQL.  (If you get <em>&#8220;Can’t connect to local MySQL server through socket ‘/var/mysql/mysql.sock’</em>&#8221; or  “<em>No such file or directory</em>” when calling mysql_connect, then this is the problem)</p>
<p><span id="more-414"></span></p>
<p>After completing the steps on Josh&#8217;s &amp; Michael&#8217;s pages and running the MySQL installation package, here are the additional steps that I like to take to get my local environment configured:</p>
<p><strong>Edit /private/etc/php.ini</strong></p>
<p>display_errors = On<br />
mysql.default_socket = /tmp/mysql.sock<br />
pdo_mysql.default_socket=/tmp/mysql.sock<br />
date.timezone = &#8216;America/Chicago&#8217;</p>
<p><strong>Edit /private/etc/apache2/httpd.conf</strong></p>
<p>DocumentRoot &#8220;/Users/jason/Sites&#8221;</p>
<p><strong>Edit /private/etc/apache2/users/jason.conf</strong></p>
<p>Append <em>FollowSymLinks</em> to the Options</p>
<p>I also like to change the permissions on php.ini and httpd.conf to allow my user account edit permissions and create an alias to those two files somewhere easy to get to.</p>
<p>Installing <a href="http://www.mamp.info" target="_blank">MAMP</a> is probably easier, but for some reason I prefer using all of the services that are pre-bundled with OSX.  Also Snow Leopard includes PHP 5.3 which led me to find a couple of deprecated functions in some of our libraries.</p>
]]></content:encoded>
			<wfw:commentRss>http://verysimple.com/2009/09/18/installing-lamp-stack-on-osx-10-6-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>PHP on OSX: Can&#039;t connect to local MySQL server through socket &#039;/var/mysql/mysql.sock&#039;</title>
		<link>http://verysimple.com/2009/01/07/php-on-os-cant-connect-to-local-mysql-server-through-socket-varmysqlmysqlsock/</link>
		<comments>http://verysimple.com/2009/01/07/php-on-os-cant-connect-to-local-mysql-server-through-socket-varmysqlmysqlsock/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 21:59:29 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.verysimple.com/blog/2009/01/07/osx-php-cant-connect-to-local-mysql-server-through-socket-varmysqlmysqlsock/</guid>
		<description><![CDATA[When installing PHP and MySQL on OSX  you may get the error Can&#8217;t connect to local MySQL server through socket &#8216;/var/mysql/mysql.sock&#8217;.  Or you may also get &#8220;No such file or directory&#8221; when calling mysql_connect from a PHP page.  This occurs because PHP is looking for the file mysql.sock in it&#8217;s typical installation location of /var/mysql/mysql.sock. [...]]]></description>
			<content:encoded><![CDATA[<p>When installing PHP and MySQL on OSX  you may get the error <em>Can&#8217;t connect to local MySQL server through socket &#8216;/var/mysql/mysql.sock&#8217;</em>.   Or you may also get &#8220;<em>No such file or directory</em>&#8221; when calling mysql_connect from a PHP page.  This occurs because PHP is looking for the file mysql.sock in it&#8217;s typical installation location of /var/mysql/mysql.sock.  However the MySQL OSX installer actually puts the file in /tmp/mysql.sock.  There are two easy ways to solve the problem.</p>
<p><span id="more-266"></span></p>
<p><strong>Solution 1: Create a symbolic link</strong></p>
<p>Open terminal and do the following:</p>
<p>sudo su<br />
mkdir /var/mysql<br />
ln -s /tmp/mysql.sock /var/mysql/mysql.sock</p>
<p>You just created a symbolic link in the place where PHP expects the socket file to be located so it should be happy.</p>
<p><strong>Solution 2: Edit php.ini</strong></p>
<p>If you don&#8217;t like the idea of creating a symbolic link, you can also simply alter your php.ini file to point PHP to the real location of mysql.sock.</p>
<p>Locate /etc/php.ini.  (If php.ini doesn&#8217;t exist on your system, copy /etc/php.ini.default to /etc/php.ini).  You will likely have to do this from the terminal unless you have Finder configured to show hidden files.  Open the file and update the setting mysql.default_socket so it looks like this:</p>
<p>mysql.default_socket = /tmp/mysql.sock</p>
<p>To commit the change you need to restart Apache.  You can do that in System Settings -&gt; Sharing, then  uncheck, then recheck Web Sharing.</p>
]]></content:encoded>
			<wfw:commentRss>http://verysimple.com/2009/01/07/php-on-os-cant-connect-to-local-mysql-server-through-socket-varmysqlmysqlsock/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>TortoiseSVN for Apple OSX</title>
		<link>http://verysimple.com/2009/01/06/tortoisesvn-for-apple-osx/</link>
		<comments>http://verysimple.com/2009/01/06/tortoisesvn-for-apple-osx/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 22:30:08 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=255</guid>
		<description><![CDATA[TortoiseSVN is my personal favorite SVN client, unfortunately it&#8217;s only fully supported on Windows.  With a little bit of hacking, though, TortoiseSVN is usable on OSX.  You can checkout, commit, update view the repo, etc.  At this point there are no overlays or Finder contextual menus.  These instructions are not for the novice user, but [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-259" src="http://verysimple.com/wp-content/uploads/2009/01/tortoise_on_osx.jpg" alt="tortoise_on_osx" width="459" height="487" /></p>
<p>TortoiseSVN is my personal favorite SVN client, unfortunately it&#8217;s only fully supported on Windows.  With a little bit of hacking, though, TortoiseSVN is usable on OSX.  You can checkout, commit, update view the repo, etc.  At this point there are no overlays or Finder contextual menus.  These instructions are not for the novice user, but chances are if you&#8217;re using SVN it shouldn&#8217;t be a problem.</p>
<p><span id="more-255"></span></p>
<p><strong>Requirements:</strong></p>
<p>1. <a href="http://www.codeweavers.com/products/cxmac/" target="_blank">Crossover</a> or <a href="http://www.winehq.org/" target="_blank">Wine</a> for OSX</p>
<p>2. Subversion server using the svn: protocol (http: doesn&#8217;t work yet)</p>
<p><strong>Step 1: Install Crossover/Wine</strong></p>
<p>The first thing you need is either <a href="http://www.codeweavers.com/products/cxmac/" target="_blank">Crossover</a> or <a href="http://www.winehq.org/" target="_blank">Wine</a>.  Crossover is the commercial version of Wine that is already customized for OSX.  With Wine you&#8217;ll probably have to learn some terminal commands.  The choice is up to you but for these instructions are for Crossover.  Wine should work the same but I don&#8217;t know what the interface is like so you&#8217;re on your own.  Please post a comment if you have any tips. After you&#8217;ve installed Crossover, download the .msi installer for TortoiseSVN.  My testing has been done with version 1.5.5.  If you have success with a more recent version, please post a comment.</p>
<p><strong>Step 2: Create a Bottle and install TortoiseSVN</strong></p>
<p><em>NOTE: For these instructions, use the default bottle name of &#8220;winxp&#8221;  If you use another name for your bottle, you&#8217;ll need to adjust the commands appropriately below.</em></p>
<p>Installing an app in Crossover is pretty easy using the installation Wizard.  Open Crossover and go to the menu item Configure -&gt; Install Software.  Click on the button that says &#8220;Install Unsupported Software.&#8221;  Ignore the warning and click &#8220;Continue&#8221; to proceed.  If you are prompted, select the option to install to a &#8220;New bottle&#8221; and continue. Once you have a bottle created, Crossover will want to know where the installation file is.  Click the install button and select the TortoiseSVN .msi file that you downloaded.  This will run you throught the typical Windows installer.</p>
<p><strong>Step 3: Using TortoiseSVN</strong></p>
<p>Now that you have Crossover installed, created a bottle and have installed TortoiseSVN the big question is &#8220;how do I use it?&#8221;  The problem is that you normally use TortoiseSVN by right-clicking folders in Windows Explorer.  There is no explorer and there are no Finder contextual menus that have been added.</p>
<p>The solution is to set up some Crossover commands and then save them.  Basically TortoiseSVN supports various windows command-line arguments.  Crossover allows you to save a command and make it appear as a regular OSX application shortcut.  So you just need to initially execute the command, then save a shortcut so you don&#8217;t have to re-type it all the time.</p>
<p><strong>Checkout an existing Repository:</strong></p>
<p>1. Create a folder on your Desktop called &#8220;jasonrules&#8221;  (This will be the test folder used for the rest of the instructions.)</p>
<p>2. Enter the checkout command. To run a windows command, open Crossover and go to the menu item &#8220;Programs -&gt; Run Command&#8230;&#8221;  There is a field for the windows command you would like to execute. The command to checkout is below.  replace <span style="color: #008000">USERNAME</span> with your home folder name and <span style="color: #008000">MY.SVN.SERVER/REPOPATH </span>with your full svn repo path.  You must keep all double-quotes in the command as they are typed below:</p>
<p><em>&#8220;/Users/<span style="color: #008000">USERNAME</span>/Library/Application Support/CrossOver/Bottles/winxp/drive_c/Program Files/TortoiseSVN/bin/TortoiseProc.exe&#8221; /command:checkout /path:&#8221;/Users/<span style="color: #008000">USERNAME</span>/Desktop/jasonrules&#8221; /url:&#8221;svn://<span style="color: #008000">MY.SVN.SERVER/REPOPATH</span>&#8220;</em></p>
<p>3.  Click the &#8220;Run&#8221; button.  You should see the familiar TortoiseSVN dialog appear confirming your action and, if your server requires authentication, you&#8217;ll be prompted for your username and password. If successful, you should see the files pulling into your working folder at this point.   You don&#8217;t need to save this command because you generally only run it once.</p>
<p>You now have a working copy of your project.  Yay!</p>
<p>NOTE &#8211; BEFORE YOU SAVE ANY COMMANDS, GO TO BOTTLE MANAGEMENT AND DUPLICATE YOUR BOTTLE!  There seems to be an issue with Crossover where it doesn&#8217;t work when saving multiple commands with the same executable but different arguments.  Most TortoiseSVN commands use the same executable so this creates a problem.  For the moment my workaround is to create a separate bottle for each command.  Hopefully that will be resolved by Crossover.</p>
<p><strong>Updating your working copy:</strong></p>
<p>Once you have a working copy, the next logical thing is to update the project.  Of course if you just checked it out, it should be pretty much up-to-date, however you will use the update command all the time so you want to save it. Follow the same steps that you did for running the checkout command, only using the command below instead.  (Be sure to replace <span style="color: #008000">PROJECTNAME</span><span style="color: #008000"> </span>with the name of the folder that is now inside jasonrules.)</p>
<p><em>&#8220;/Users/<span style="color: #008000">USERNAME</span>/Library/Application Support/CrossOver/Bottles/winxp/drive_c/Program Files/TortoiseSVN/bin/TortoiseProc.exe&#8221; /command:update /path:&#8221;/Users/<span style="color: #008000">USERNAME</span>/Desktop/jasonrules/<span style="color: #008000">PROJECTNAME</span>&#8220;</em></p>
<p>Click the &#8220;Run&#8221;button again and you should see the familiar TortoiseSVN dialog.  If all goes well, you will be able to successfully update the working directory.</p>
<p>Since you will want to run update regularly as you work, you should save a shortcut for this command.  To do this, click the &#8220;Save Command to Programs Menu&#8221; button.  This will create a shortcut icon which you can rename, drag it to your Dock or whatever you&#8217;d like to do.  Everytime you double-click this shortcut, the update command that you saved will be executed.</p>
<p><strong>Committing Changes:</strong></p>
<p>The last command I&#8217;m going to describe is the Commit command.  Basically updating and committing are the most common operations, so you should be able to do your basic work at this point.  The commit command is run the same as update:</p>
<p><em>&#8220;/Users/<span style="color: #008000">USERNAME</span>/Library/Application Support/CrossOver/Bottles/winxp/drive_c/Program Files/TortoiseSVN/bin/TortoiseProc.exe&#8221; /command:commit /path:&#8221;/Users/<span style="color: #008000">USERNAME</span>/Desktop/jasonrules/<span style="color: #008000">PROJECTNAME</span>&#8220;</em></p>
<p>You should again see the familiar dialog and be able to commit just as if you were working in Windows.  Again, save this command.</p>
<p><strong>Additional Information:</strong></p>
<p>With the three commands I showed you above you should be able to do basic development work using TortoiseSVN in OSX. You will most likely want to repeat the process using your actual working directories and not the jasonrules folder on your Desktop.  One thing to note is that if you work on multiple projects, you&#8217;ll have to create separate shortcuts for all of them because the working directory path is hard-coded into the commands.</p>
<p>Obviously there are a lot more commands, branching, merging, patching, etc.  The basic concept behind running these is the same.  You just need to know the correct syntax in order to run them.  The inline TortoiseSVN help lists all of the commands.</p>
<p>I would be interested in hearing from anyone who comes up with more commands, or knows AppleScript and would be able to write contextual Finder menus.  I don&#8217;t think it would be too difficult.  The <a href="http://scplugin.tigris.org/" target="_blank">SCPlugin</a> source code might provide some clues.</p>
<p>Please feel free to leave a comment if you used this tutorial and found it helpful (or not).</p>
]]></content:encoded>
			<wfw:commentRss>http://verysimple.com/2009/01/06/tortoisesvn-for-apple-osx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SCPlugin &#8211; authorization failed</title>
		<link>http://verysimple.com/2008/06/12/scplugin-authorization-failed/</link>
		<comments>http://verysimple.com/2008/06/12/scplugin-authorization-failed/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 23:00:10 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=111</guid>
		<description><![CDATA[SCPlugin for OSX may return &#8220;authorization failed&#8221; when you try to update or commit the first time you use it. The reason for this is that it uses the keychain however it doesn&#8217;t seem to pop-up the Allow/Deny dialog in order for you to allow it to access the keychain. The solution is that you [...]]]></description>
			<content:encoded><![CDATA[<p>SCPlugin for OSX may return &#8220;authorization failed&#8221; when you try to update or commit the first time you use it.  The reason for this is that it uses the keychain however it doesn&#8217;t seem to pop-up the Allow/Deny dialog in order for you to allow it to access the keychain.</p>
<p>The solution is that you need to do at least one initial checkout using the command line in order to give SVN access to the keychain.  To do this, just open terminal and navigate to an empty folder.  Do a checkout of your project with the command &#8220;svn co http://myrepolocation.com/ &#8211;username myusername &#8211;password mypassword .&#8221;</p>
<p>when you do this, you&#8217;ll get the OSX Allow/Deny dialog and you should Allow SVN access to the keychain.  From this point on SCPlugin will be able to correctly remember your authentication information.</p>
]]></content:encoded>
			<wfw:commentRss>http://verysimple.com/2008/06/12/scplugin-authorization-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount an OSX AFS shared folder over SSH</title>
		<link>http://verysimple.com/2008/03/09/mount-an-osx-afs-shared-drive-over-ssh/</link>
		<comments>http://verysimple.com/2008/03/09/mount-an-osx-afs-shared-drive-over-ssh/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 01:12:20 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Digital Life]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.verysimple.com/blog/2008/03/09/mount-an-osx-afs-shared-drive-over-ssh/</guid>
		<description><![CDATA[This is a simple way to mount an OSX shared folder over SSH without installing any additional software. For this to work you must be sharing a folder using AFP (Apple File Sharing) protocol and have &#8220;Remote Login&#8221; (i.e. SSH) enabled. These settings are all found in System Preferences-&#62;Sharing. If your server is behind a [...]]]></description>
			<content:encoded><![CDATA[<p>This is a simple way to mount an OSX shared folder over SSH without installing any additional software.  For this to work you must be sharing a folder using AFP (Apple File Sharing) protocol and have &#8220;Remote Login&#8221; (i.e. SSH) enabled.  These settings are all found in System Preferences-&gt;Sharing.  If your server is behind a firewall, you must open the SSH port (usually port 22).</p>
<p><strong>Step One: </strong>Open up terminal and enter the following command:</p>
<pre>ssh -N -p 22 USERNAME@HOSTNAME -L 5480/localhost/548
</pre>
<p>Replace <em>USERNAME</em> with the remote username and replace <em>HOSTNAME</em> with the domain name or IP address of your server.  For example jason@192.168.1.100.  If you run SSH on a non-standard port, you can also replace <em>22</em> with your port number.  You&#8217;ll be prompted for a password then you won&#8217;t see any further output.</p>
<p>This creates an <a href="http://en.wikipedia.org/wiki/Tunneling_protocol#SSH_tunneling" target="_blank">SSH tunnel</a> from local port 5480 to remote port 548.  In Apple terms you might think of this as an alias.  The remote server&#8217;s incoming port 548 is the default port used by Apple File Sharing service.  Our local outgoing port 5480, on the other hand, could be any unused port number on the local machine.  I chose 5480 just because it&#8217;s similar to 548, therefore easy to remember.  For these instructions assume you&#8217;re using 5480.   Anyway, you might think of your tunnel as something like this:</p>
<p><em>local port 5480 -&gt; SSH -&gt; Internet -&gt; SSH -&gt; remote port 548</em></p>
<p><strong>Step Two: </strong>Click anywhere on your desktop or open Finder so that you see the &#8220;Go&#8221; menu in your menu bar.  Select from the menu bar: Go-&gt; Connect to Server&#8230;</p>
<p>In the server address, enter &#8220;afp://localhost:5480&#8243;  (without the quotes)</p>
<p>This may seem crazy because it appears you are connecting to &#8220;localhost&#8221; which would normally be your local computer. Remember though, port 5480 on your local machine is an &#8216;alias&#8217; (if you will) to port 548 on the remote machine.  So this will connect to port 548 on the remote machine via the encrypted tunnel.</p>
<p>After a moment you should get a standard login dialog.  Enter your remote username/password and you&#8217;ll be presented with the available shares.  Select the share you want and you should see it appear in the Finder in a moment.  That&#8217;s it!  You can now open and drag/drop files.  The connection will probably be slower depending on your connection speed, but otherwise it works the same as if you were connecting directly.</p>
<p><strong>(Optional) </strong>Additional Software and Alternatives</p>
<p>If you&#8217;re uncomfortable with the command like, there&#8217;s a GUI application for connecting to SSH servers and creating tunnels called SSH Tunnel Manager.  You can download it from  <a href="http://projects.tynsoe.org/en/stm/" target="_blank">http://projects.tynsoe.org/en/stm/</a>.  The functionality is the same, but if you prefer clicking a button instead of typing in the terminal window, it can be useful.</p>
<p>If you don&#8217;t really care about mounting the drive and you just want a way to securely transfer files, <a href="http://cyberduck.ch/" target="_blank">CyberDuck</a> is a great program that works basically like an FTP client, but you can specify SFTP as your connection type to connect over SSH.</p>
<p>Another method for connecting to shares over SSH is through an application called <a href="http://code.google.com/p/macfuse/" target="_blank">MacFuse</a> with it&#8217;s required counterpart sshfs.  This may look the same as an SSH tunnel, but is technically very different.  MacFuse is a program that allows you to make anything appear to be a file system and SSH is just one of the possible implementations.  You might say that this app tricks your computer into thinking something is a local hard drive.  I gave MacFuse a try and personally did not find it reliable for this specific purpose.  A plain old SSH tunnel works great for me so I don&#8217;t plan to use MacFuse for this purpose.  However it is an interesting idea and has many other uses.</p>
<p>Please feel free to leave a comment if you have any remote connection tips or tricks.</p>
]]></content:encoded>
			<wfw:commentRss>http://verysimple.com/2008/03/09/mount-an-osx-afs-shared-drive-over-ssh/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Leopard error: Java for ppc cannot run in this configuration</title>
		<link>http://verysimple.com/2007/10/18/java-for-ppc-cannot-run-in-this-configuration/</link>
		<comments>http://verysimple.com/2007/10/18/java-for-ppc-cannot-run-in-this-configuration/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 00:33:23 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://www.verysimple.com/blog/2007/10/18/java-for-ppc-cannot-run-in-this-configuration/</guid>
		<description><![CDATA[OSX 10.5 Leopard may show the following error in the console when opening certain Java applications in Rosetta: JavaVM FATAL: Java for ppc cannot run in this configuration. JavaVM FATAL: Please consult documentation. This error appears in PPC applications that have a Java component and are trying to use an older version of the Java [...]]]></description>
			<content:encoded><![CDATA[<p>OSX 10.5 Leopard may show the following error in the console when opening certain Java applications in Rosetta:</p>
<p><em>JavaVM FATAL: Java for ppc cannot run in this configuration.<br />
JavaVM FATAL: Please consult documentation.<br />
</em></p>
<p>This error appears in PPC applications that have a Java component and are trying to use an older version of the Java runtime.  Apple seems to have not included the complete 1.3.1 JDK with Leopard, instead the 1.3.1 folder simply contains an alias to the Java application launcher.</p>
<p><span style="color: #ff0000"><strong>** WARNING! AS OF THE OSX UPDATE ON 10/1/2008 THIS PATCH MAY CAUSE SOME APPLICATIONS TO STOP WORKING. THERE IS NOW AN ADDITIONAL FILE UNDO.ZIP WITH THE PATCH THAT YOU CAN USE TO REVERT THE PATCH CHANGES.  KNOWN APPS THAT ARE AFFECTED ARE ECLIPSE AND FLEX BUILDER.  OTHER JAVA APPS MAY BE AFFECTED AS WELL.   **</strong></span></p>
<p>A patch file <a href="http://www.pcguild.com/updates/">LeopardJavaPatch.zip</a> includes a replacement for the 1.3.1 JDK that resolves the issue in some cases.  Installation is easy &#8211; simply unzip the archive and follow the instructions to update your 1.3.1 JDK folder.</p>
<p>If this doesn&#8217;t solve your problem, you can also try downgrading the JDK using the instructions included in the &#8220;Advanced&#8221; section of the LeopardJavaPatch.zip ReadMe.  Or alternatively macoshints.com provides <a href="http://www.macosxhints.com/article.php?story=20060121171126988">a script to manage your system JDK settings.</a></p>
<p>Please note that this patch only fixes issues for Leopard.  If you are running Tiger or an earlier version, then you are more likely to solve your problem by downgrading the JDK (see above).</p>
<p>If you have any comments or additional information about this error, please feel free to leave a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://verysimple.com/2007/10/18/java-for-ppc-cannot-run-in-this-configuration/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Launch Parallels Windows App From the OSX Dock</title>
		<link>http://verysimple.com/2006/12/03/launching-parallels-windows-apps-from-the-osx-dock/</link>
		<comments>http://verysimple.com/2006/12/03/launching-parallels-windows-apps-from-the-osx-dock/#comments</comments>
		<pubDate>Sun, 03 Dec 2006 19:55:11 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=67</guid>
		<description><![CDATA[Update: The proof of concept that I did here was actually implemented as a feature into Parallels version 2.5. Did my idea inspire them or where they already working on it&#8230;? The world may never know! My humble idea had it&#8217;s 15 minutes of fame on the social network sites. Alas, this hack is no [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update: The proof of concept that I did here was actually implemented as a feature into Parallels version 2.5.  Did my idea inspire them or where they already working on it&#8230;?  The world may never know!  My humble idea had it&#8217;s 15 minutes of fame on the social network sites.  Alas, this hack is no longer necesary for launching Windows applications.  However, it still may be interesting and useful as a crude messaging system between the host and guest OS.  With that I present the original article:</em></p>
<p>With the latest version of Parallels coherence mode you can run Windows apps yet have the Windows OS itself transparent.  This creates the visual effect that you are running Windows apps within OSX.  The coherence feature is still a little rough but it got my gears spinning and I saw some amazing possibilities.  The illusion doesn&#8217;t seem quite complete to me without being able to launch Windows apps from the Dock.  I created this simple app as a proof of concept that it could be easily done.  It&#8217;s simple but it works!</p>
<p>You can try it out for yourself: <a href="http://www.verysimple.com/blog/wp-content/uploads/2006/12/docksync_v01.zip">Download docksync_v01.zip</a><strong> </strong></p>
<p><em>The app requires .NET Framework 2.0 which you can install from Windows Update</em></p>
<p>Update: Grab Matt&#8217;s add-on <a href="http://farmproject.object-farm.org/blog/?p=4" target="_blank">DockSyncOSX</a> and you can drag/drop Windows Shortcuts!</p>
<p><strong>Demo Video</strong></p>
<p><strong>How does it work?</strong></p>
<p>Obviously there is some communication between OSX and Windows already through parallels.  But, not having access to that API, I decided to create a simple app on the Windows side that basically monitors a shared directory.  On the OSX side, you simply create a specially crafted text file in that directory to send a command over to Windows.  Any OSX method to generate a text file can be used.  Just to keep things simple, I used a shell script that can be executed by double-clicking an icon.  The result is crude but it works and hopefully might inspire someone to take it a little further.</p>
<p>Here&#8217;s a screenshot of the Windows app that&#8217;s monitoring for commands:</p>
<p><img src="http://verysimple.com/wp-content/uploads/2006/12/docksync.png" alt="docksync.png" /></p>
<p>This is being released with no license so use the code at your own risk.  If you have any suggestions or updates, please post them here.  In particular if you know of an cleaner way to trigger the creation of the task file on the OSX side, that would be cool.  Preferably something that people can create and edit without having to compile.</p>
<p><strong><a href="http://www.verysimple.com/blog/wp-content/uploads/2006/12/docksync_v01.zip" id="p65">Download docksync_v01.zip</a> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://verysimple.com/2006/12/03/launching-parallels-windows-apps-from-the-osx-dock/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>How Windows Apps will Run on OSX</title>
		<link>http://verysimple.com/2006/12/01/how-windows-apps-will-run-on-osx/</link>
		<comments>http://verysimple.com/2006/12/01/how-windows-apps-will-run-on-osx/#comments</comments>
		<pubDate>Sat, 02 Dec 2006 03:04:56 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.verysimple.com/blog/?p=64</guid>
		<description><![CDATA[All of us who are into the Windows on OSX thing via bootcamp, parallels, VMWare, etc have been hearing of a mysterious ability to actually run windows applications right there on the OSX desktop. How would this be done &#8211; will Apple write some sort of API wrapper to run Windows Applications? Will bootcamp mysteriously [...]]]></description>
			<content:encoded><![CDATA[<p>All of us who are into the Windows on OSX thing via bootcamp, parallels, VMWare, etc have been hearing of a mysterious ability to actually run windows applications <em>right there</em> on the OSX desktop. How would this be done &#8211; will Apple write some sort of API wrapper to run Windows Applications? Will bootcamp mysteriously merge with OSX? What does this all mean?</p>
<p>Well I have seen the future.  And it is not quite what I was expecting.</p>
<p style="text-align: center"><img border="1" alt="Windows on OSX (Small)" src="http://verysimple.com/wp-content/uploads/2006/12/winx_sm.jpg" /></p>
<p style="text-align: center"><a class="imagelink" title="Windows on OSX (Medium)" href="http://verysimple.com/wp-content/uploads/2006/12/winx_med.jpg" rel="shadowbox[post-64];player=img;"><img alt="Windows on OSX (Medium)" src="http://verysimple.com/wp-content/uploads/2006/12/winx_med-150x150.jpg" /></a></p>
<p>I&#8217;ve been playing around with the latest beta version of Parallels, which is now available for download from the <a target="_blank" href="http://forum.parallels.com/thread5997.html">parallels forums</a>. There&#8217;s a surprising amount of new feature for a minor version update, but one that I found strange and interesting is a feature called &#8220;Coherence Mode.&#8221;  Coherence mode is supposed to allow you to run windows applications right on the OSX desktop.</p>
<p>As you can see from the screenshot, it really does visually look like you are running a windows application right there on the desktop.  Since you can drag your mouse around and grab various windows in either Windows or OSX, it really does somewhat feel like the apps are running in OSX too&#8230; kinda! What Parallels seems to have done is basically to have windows running over the top of OSX, but visually hide the actual desktop.  So, it is more or less just a visual trick. One wierd thing that you&#8217;ll notice from the screenshot is that the windows taskbar is floating just above the OSX dock.  I&#8217;m sure Apple fanboys will struggle to keep their lunch down at the sight of it! Even I find it a ugly.</p>
<p>In addition to the Coherence Mode feature, Parallels now supports drag-n-drop between the two operating systems.  This feature works really great.  Though it is again some amount of visual trickery again, since files could be easily copied through the virtual shared directories.  You can&#8217;t drag a file from a windows app to a mac app &#8211; now <em>that </em>would be cool!  But, it&#8217;s seamless and this is a really nice feature.</p>
<p>All in all, I think they are on the right track.  If they can get the drag-n-drop working a little better when in coherence mode, perhaps even dragging and dropping between applications, that would really make it feel like the windows app is truly running in OSX.</p>
]]></content:encoded>
			<wfw:commentRss>http://verysimple.com/2006/12/01/how-windows-apps-will-run-on-osx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
