For you I think these lines are the most important in my email:
[...]
Note: You might also want to read about the Java classpath
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html
PS: [...] Learning a bit about Java might also help with your
frustrations.
--emi
On Sep 8, 2009, at 8:20 PM, mckyj57 wrote:
On Sep 8, 12:49 pm, Emilian Bold <[email protected]> wrote:
You go here:http://www.mozilla.org/rhino/
See the BIG downloads link:http://www.mozilla.org/rhino/download.html
You get the zip.
You go back.
You see the BIG documentation
link:https://developer.mozilla.org/en/Rhino_documentation
Yes, I sure did. But is there any installation info? No, there is not.
You see
"Rhino Shell
Interactive or batch execution of scripts."
Yes, I sure did. But is there any installation info? No, there is not.
That looks easy enough. It takes you
here:https://developer.mozilla.org/en/Rhino_Shell
where you see how to execute the shell.
You do? I see:
java org.mozilla.javascript.tools.shell.Main [options] script-
filename-
or-url [script-arguments]
I do that, but no dice. Now I am not stupid enough to believe that it
is built into my Java, but how do you make that operate? Is it as
simple as copying js-14.jar to /usr/share/java? Or what?
If you want to embed, you have a nice
tutorial:http://www.mozilla.org/rhino/tutorial.html
Note: You might also want to read about the Java
classpathhttp://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/classpath.html
I would say that all in all everything is pretty clear, INSTALL file
or not.
PS: You must be kidding with your rant. Learning a bit about Java
might also help with your frustrations.
I don't want to learn about Java. I want to use a Java application.
There is no installation information. Searching on install and
installation in this group
yields no hits. Searching for "rhino installation" yields nothing on
the web.
--emi
On Sep 8, 2009, at 7:34 PM, mckyj57 wrote:
In downloading and inspecting Rhino from mozilla.com, I see no
documentation regarding installation. Going to the web site, I see
no
section on installation. There is no INSTALL or README file. The
index.html in the javadoc/ directory has no mention of installation.
How is one to use this tool to do something as simple as syntax-
checking
a script segment in an editor. For instance, with vim and perl you
can
highlight a code segment and do:
!perl -wc
I simply want to be able to do that for Javascript to catch those
stupid
syntax errors you are bound to have from so many levels of bracket.
(Yes, I know about syntax coloring and definitions. I want more.)
P.S. At the risk of alienating people here, I will speak my two
cents.
This is not the first time I have had this problem with an
application written in Java. To my mind this is one of the constant
lacks in Java-based applications. There is rarely an installation
nor a regular command line script available for simple use. What is
the deal? Is there some sort of initiation that Java people want to
wreak on the world? Are you not deemed worthy enough to use Java
apps if you haven't gone through some rite of passage? I am not
surprised at the lack of traction Java has, based on this
unfriendliness.
--
Mickey
I don't want to get to the end of my life and find I have just
lived the length of it. I want to have lived the width of it as
well. -- Diane Ackerman
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino