<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Installing Rhino on Mac</title>
	<atom:link href="http://www.phpied.com/installing-rhino-on-mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpied.com/installing-rhino-on-mac/</link>
	<description>Stoyan&#039;s blog about &#60;a href=&#34;/category/xhtml&#34; class=&#34;tag-minor&#34;&#62;(x)html(5)&#60;/a&#62;, &#60;a href=&#34;/category/ajax&#34; class=&#34;tag-major&#34;&#62;ajax&#60;/a&#62;, &#60;a href=&#34;/category/bookmarklets&#34; class=&#34;tag-major&#34;&#62;bookmarklets&#60;/a&#62;, &#60;a href=&#34;/category/browsers&#34; class=&#34;tag-minor&#34;&#62;browsers&#60;/a&#62;, &#60;a href=&#34;/category/css&#34; class=&#34;tag-normal&#34;&#62;css&#60;/a&#62;, &#60;a href=&#34;/category/firebug&#34; class=&#34;tag-minor&#34;&#62;firebug&#60;/a&#62;, &#60;a href=&#34;/category/javascript&#34; class=&#34;tag-numero-uno&#34;&#62;javascript&#60;/a&#62;, &#60;a href=&#34;/category/json&#34; class=&#34;tag-normal&#34;&#62;json&#60;/a&#62;, &#60;a href=&#34;/category/mdb2&#34; class=&#34;tag-minor&#34;&#62;mdb2&#60;/a&#62;, &#60;a href=&#34;/category/mysql&#34; class=&#34;tag-normal&#34;&#62;mysql&#60;/a&#62;, &#60;a href=&#34;/category/pear&#34; class=&#34;tag-numero-uno&#34;&#62;pear&#60;/a&#62;, &#60;a href=&#34;/category/performance&#34; class=&#34;tag-major&#34;&#62;performance&#60;/a&#62;, &#60;a href=&#34;/category/php&#34; class=&#34;tag-numero-uno&#34;&#62;php&#60;/a&#62;, &#60;a href=&#34;/category/phpbb&#34; class=&#34;tag-major&#34;&#62;phpbb&#60;/a&#62;, &#60;a href=&#34;/category/tools&#34; class=&#34;tag-normal&#34;&#62;tools&#60;/a&#62;, &#60;a href=&#34;/category/yslow&#34; class=&#34;tag-minor&#34;&#62;yslow&#60;/a&#62;, &#60;a href=&#34;/category/yui&#34; class=&#34;tag-normal&#34;&#62;yui&#60;/a&#62;, &#60;a href=&#34;/category/writing&#34; class=&#34;tag-minor&#34;&#62;writing&#60;/a&#62;, &#60;a href=&#34;/category/music&#34; class=&#34;tag-major&#34;&#62;music&#60;/a&#62;,... &#60;a href=&#34;/category/life-and-everything&#34; class=&#34;tag-normal&#34;&#62;life and everything&#60;/a&#62;.</description>
	<lastBuildDate>Sat, 11 Feb 2012 14:07:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: unzip</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-81409</link>
		<dc:creator>unzip</dc:creator>
		<pubDate>Mon, 23 Jan 2012 11:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-81409</guid>
		<description>&lt;strong&gt;unzip...&lt;/strong&gt;

[...]Installing Rhino on Mac / Stoyan&#039;s phpied.com[...]...</description>
		<content:encoded><![CDATA[<p><strong>unzip&#8230;</strong></p>
<p>[...]Installing Rhino on Mac / Stoyan&#8217;s phpied.com[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ekosukmo</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-78684</link>
		<dc:creator>ekosukmo</dc:creator>
		<pubDate>Fri, 16 Sep 2011 14:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-78684</guid>
		<description>Hi Stoyan, 
You can enable up-arrow command completion in Rhino using JLine:

java -classpath js.jar:jline.jar jline.ConsoleRunner org.mozilla.javascript.tools.shell.Main

Go get it at http://jline.sourceforge.net/. You&#039;ll need to put it in your classpath; I throw rhino and jline into ~/Library/Java/Extensions/, which gets added to the CLASSPATH automatically for me.

Also, ctrl-D exits the Rhino shell too!</description>
		<content:encoded><![CDATA[<p>Hi Stoyan,<br />
You can enable up-arrow command completion in Rhino using JLine:</p>
<p>java -classpath js.jar:jline.jar jline.ConsoleRunner org.mozilla.javascript.tools.shell.Main</p>
<p>Go get it at <a href="http://jline.sourceforge.net/" rel="nofollow">http://jline.sourceforge.net/</a>. You&#8217;ll need to put it in your classpath; I throw rhino and jline into ~/Library/Java/Extensions/, which gets added to the CLASSPATH automatically for me.</p>
<p>Also, ctrl-D exits the Rhino shell too!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ekosukmo</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-78683</link>
		<dc:creator>ekosukmo</dc:creator>
		<pubDate>Fri, 16 Sep 2011 14:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-78683</guid>
		<description>Hi Stoyan, 
Got rhino running on my mac.
if the parent directories don’t exist., update the link to rhino zip: the latest version is 7R2 now. Also, you might want to use the “-p” option in mkdir :

mkdir -p ~/Library/Java/Extensions
Thanks for the helpful post.  
ekosukmo-checko</description>
		<content:encoded><![CDATA[<p>Hi Stoyan,<br />
Got rhino running on my mac.<br />
if the parent directories don’t exist., update the link to rhino zip: the latest version is 7R2 now. Also, you might want to use the “-p” option in mkdir :</p>
<p>mkdir -p ~/Library/Java/Extensions<br />
Thanks for the helpful post.<br />
ekosukmo-checko</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasan Diwan</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-78550</link>
		<dc:creator>Hasan Diwan</dc:creator>
		<pubDate>Sun, 28 Aug 2011 17:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-78550</guid>
		<description>No, do not put any Jars in the default locations and pollute the system namespace. Always, always, always, set the class path from the command line -- java -cp rhino.jar org.mozilla.javascript.tools.shell.Main</description>
		<content:encoded><![CDATA[<p>No, do not put any Jars in the default locations and pollute the system namespace. Always, always, always, set the class path from the command line &#8212; java -cp rhino.jar org.mozilla.javascript.tools.shell.Main</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chanel bags</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-75539</link>
		<dc:creator>Chanel bags</dc:creator>
		<pubDate>Sat, 08 Jan 2011 08:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-75539</guid>
		<description>&lt;strong&gt;...&lt;/strong&gt;

You made some good dots thither. I looked for this issue and found out. that most people will agree with your blog....</description>
		<content:encoded><![CDATA[<p><strong>&#8230;</strong></p>
<p>You made some good dots thither. I looked for this issue and found out. that most people will agree with your blog&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Schieben</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-72912</link>
		<dc:creator>Michael Schieben</dc:creator>
		<pubDate>Fri, 14 May 2010 14:10:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-72912</guid>
		<description>Hi Stoyan,

thank you for the post. I did not know that I can put the Java extension to ~/Library/Java/Extensions - cool: got Rhino up and running.

Michael</description>
		<content:encoded><![CDATA[<p>Hi Stoyan,</p>
<p>thank you for the post. I did not know that I can put the Java extension to ~/Library/Java/Extensions &#8211; cool: got Rhino up and running.</p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Rein</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-72538</link>
		<dc:creator>Rich Rein</dc:creator>
		<pubDate>Thu, 25 Mar 2010 20:48:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-72538</guid>
		<description>You can create JavaScript files that will run with out naming the interpreter first.
Just make the script executable and make the first line:

    #!/usr/bin/env java org.mozilla.javascript.tools.shell.Main

So read.js would contain:

    #!/usr/bin/env java org.mozilla.javascript.tools.shell.Main
    print(readUrl(&#039;http://phpied.com&#039;))

Then you can run it by just typing read.js:

  $ ./read.js</description>
		<content:encoded><![CDATA[<p>You can create JavaScript files that will run with out naming the interpreter first.<br />
Just make the script executable and make the first line:</p>
<p>    #!/usr/bin/env java org.mozilla.javascript.tools.shell.Main</p>
<p>So read.js would contain:</p>
<p>    #!/usr/bin/env java org.mozilla.javascript.tools.shell.Main<br />
    print(readUrl(&#8216;<a href="http://phpied.com" rel="nofollow">http://phpied.com</a>&#8216;))</p>
<p>Then you can run it by just typing read.js:</p>
<p>  $ ./read.js</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Lepich</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-72470</link>
		<dc:creator>Scott Lepich</dc:creator>
		<pubDate>Fri, 12 Mar 2010 19:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-72470</guid>
		<description>Hi Stoyan!

Thank you for the clear outline of Rhino install steps.  BTW:

$ mkdir ~/Library/Java
$ mkdir ~/Library/Java/Extensions

can be compressed to:
$ mkdir -p ~/Library/Java/Extensions

;)</description>
		<content:encoded><![CDATA[<p>Hi Stoyan!</p>
<p>Thank you for the clear outline of Rhino install steps.  BTW:</p>
<p>$ mkdir ~/Library/Java<br />
$ mkdir ~/Library/Java/Extensions</p>
<p>can be compressed to:<br />
$ mkdir -p ~/Library/Java/Extensions</p>
<p> <img src='http://www.phpied.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cody Soyland</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-71515</link>
		<dc:creator>Cody Soyland</dc:creator>
		<pubDate>Thu, 17 Sep 2009 05:49:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-71515</guid>
		<description>Thanks for this article. Worked fine for me. Also worth pointing out is that you can alias the word &quot;rhino&quot; to the java command. Add this line to your ~/.profile:

alias rhino=&quot;java org.mozilla.javascript.tools.shell.Main&quot;

Now you have a simpler command to use:

# rhino &lt;&lt; hi
js&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for this article. Worked fine for me. Also worth pointing out is that you can alias the word &#8220;rhino&#8221; to the java command. Add this line to your ~/.profile:</p>
<p>alias rhino=&#8221;java org.mozilla.javascript.tools.shell.Main&#8221;</p>
<p>Now you have a simpler command to use:</p>
<p># rhino &lt;&lt; hi<br />
js&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: warpedvisions.org :: Running Javascript on the Server</title>
		<link>http://www.phpied.com/installing-rhino-on-mac/#comment-71293</link>
		<dc:creator>warpedvisions.org :: Running Javascript on the Server</dc:creator>
		<pubDate>Sat, 08 Aug 2009 16:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpied.com/?p=593#comment-71293</guid>
		<description>[...] is server side Javascript, built in Java, that can run on OS X and other unix-like platforms.    window.onload = [...]</description>
		<content:encoded><![CDATA[<p>[...] is server side Javascript, built in Java, that can run on OS X and other unix-like platforms.    window.onload = [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

