Next I went to http://www.mozilla.org/rhino/download.html and took the
JS.jar file from there and installed in the lib dir and that didn't work

Here is my java version info:

C:\Users\Randy\Downloads\jetty-openbd>java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

C:\Users\Randy\Downloads\jetty-openbd>


Dpes that have something to do with it?

Randy



On Tue, Sep 14, 2010 at 12:02 AM, Randy Johnson <[email protected]>wrote:

> I downloaded the big Rhino package and copied js.jar and jsline.jar to the
> lib directory and restarted.   I thought that would fix it, because I opened
> the js.jar and saw the directory structure referenced in the error, but no
> luck yet
>
> Randy
>
>
>
> On Mon, Sep 13, 2010 at 11:48 PM, Randy Johnson <[email protected]>wrote:
>
>> Hello,
>>
>> I installed the openBD Jetty Nightly Build on Windows 7 Professional
>> tonight.
>>
>> running on localhost:8080
>>
>> I copied the JavaScriptPlugin.jar (v 1.16)  to the webinf lib
>> directory and restarted.
>>
>> I can get this code to run:
>>
>> <cfjs>
>> /* Place javascript code here */
>> myFunc = function(){
>>  return 2+3;
>> };
>>
>> x = myFunc();
>>
>> y = {
>>  "months" : [
>>    'jan', 'feb', 'mar'
>>  ]
>> };
>>
>> $cf.tocfml( "x" );
>> $cf.tocfml( "y" );
>> </cfjs>
>>
>> <cfoutput>x = #x#</cfoutput>
>> <cfdump var="#y#">
>>
>>
>> But when I downloaded
>>
>> http://www.envjs.com/release/envjs-1.2
>>
>> and ran this code:
>>
>> <cfjs>
>> $cf.load('env.rhino.js');
>>
>> window.onload = function(){
>>  $cf.print( document.innerHTML );
>> };
>>
>> window.location='http://www.google.com/';
>> </cfjs>
>>
>> I receive this error:
>>
>> JavaScript: Wrapped java.util.MissingResourceException: Can't find
>> bundle for base name org.m0zilla.javascript.resources.Messages, locale
>> en_US (c...@27:2#1)
>>
>>
>> Any ideas on what is going on here?
>>
>> Thanks!
>>
>> Randy
>>
>>
>>
>

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to