Date: Wed, 20 Jun 2012 08:47:08 -0700 (PDT) From: Saad To: envjs@googlegroups.com Message-Id: <61b6d090-3975-44d0-922d-1c5fb22725b0@googlegroups.com> In-Reply-To: References: Subject: Re: js: uncaught JavaScript runtime exception: ReferenceError: "Envjs" is not defined. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_271_13782111.1340207228810" ------=_Part_271_13782111.1340207228810 Content-Type: multipart/alternative; boundary="----=_Part_272_9705305.1340207228810" ------=_Part_272_9705305.1340207228810 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Brahmachaitanya, Have you taken a look at this already? http://www.envjs.com/doc/guides#running-rhino On Wednesday, June 20, 2012 7:29:32 AM UTC-4, Brahmachaitanya Wajapey wrote: > > Hi, > > I am working on a project that involves website scraping. I am trying to > use envjs for this. But when I try to execute example scripts (scrape.js) I > am getting the following error - > > js: uncaught JavaScript runtime exception: ReferenceError: "Envjs" is not > defined. > > I am running the following command - java -cp ./rhino/js.jar > org.mozilla.javascript.tools.shell.Main examples/scrape.js > > I have downloaded envjs from github (https://github.com/thatcher/env-js) > > Can you please tell me how to execute the the scripts using envjs ? > ------=_Part_272_9705305.1340207228810 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Brahmachaitanya,

Have you taken a look at this alread= y? 
http://www.envjs.com/doc/guides#running-rhino

On = Wednesday, June 20, 2012 7:29:32 AM UTC-4, Brahmachaitanya Wajapey wrote:Hi,

I am work= ing on a project that involves website scraping. I am trying to use envjs f= or this. But when I try to execute example scripts (scrape.js) I am getting= the following error -

js: uncaught JavaScript run= time exception: ReferenceError: "Envjs" is not defined.

<= /div>
I am running the following command - java -cp ./rhino/js.jar= org.mozilla.javascript.tools.shell.Main examples/scrape.js
=
I have downloaded envjs from github (https://github.com/thatcher/= env-js)

Can you please tell me how to execute = the the scripts using envjs ?
------=_Part_272_9705305.1340207228810-- ------=_Part_271_13782111.1340207228810--