Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No env-js.jar #12

Open
cefn opened this issue May 5, 2010 · 3 comments
Open

No env-js.jar #12

cefn opened this issue May 5, 2010 · 3 comments

Comments

@cefn
Copy link

cefn commented May 5, 2010

I can't find a way to get env-js.jar at present.

The zip file from http://www.envjs.com/release/undefined doesn't include it. The basic ant build from the zip download doesn't create it. I can't find it in github. Nevertheless, everything all over envjs.com recommends its use for emulating the browser most effectively, for example this page...
http://www.envjs.com/doc/guide-1.0.x

In my envjs directory, expanded and after calling ant and make ...
envjs$ find . -name '*.jar'
./rhino/jline.jar
./rhino/js.jar

It's also missing from the website - links promising env-js.jar go to a dead end.
http://www.envjs.com/release/1.0.x

What did I miss?

@client9
Copy link

client9 commented May 5, 2010

I don't understand why envjs.com is incorrect or who even runs it, but the best way to get the jar is to make one manually:

git clone http://github.com/thatcher/env-js
cd env-js
ant concat (or ant zip)

Failing that, I could post a snapshot jar.

@thatcher
Copy link
Owner

thatcher commented May 6, 2010

sorry, the new site is almost ready. envjs.jar is deprecated and only js.jar is needed. env.rhino.js needs to be built from source as nick mentioned, we will be provided official releases as part of the new site.

@cefn
Copy link
Author

cefn commented May 6, 2010

I don't know if js.jar is equivalent to env-js.jar. Initially, I tried to run it in this way, and found that load() and print() weren't defined.

I had to write this Java harness for invoking Contexts based on a useful comment in the Google Group describing how to bring in the necessary Rhino Shell bindings...
http://pastebin.com/zAmJpKNC

At present I'm trying to run the Rhino debugger. Since this requires a specific Main class to be invoked, I don't know how to ensure that all the relevant bindings are there if js.jar doesn't provide them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants