You must be really fun to work with...

--emi

On Sep 8, 2009, at 9:18 PM, mckyj57 wrote:

And now you have validated my rant. There is no way for someone with
no working knowledge of Java to use this application. You may think
this is a good thing -- why I wouldn't know. It would seem to me that
providing installation information might be of some priority. But with
Java apps, I have not found it. Every time, one has to modify
something or another or add some obscure path to some environment
variable.

My initial attempt to change CLASSPATH, the thing I remembered you
typically had to do, didn't work. After playing with it awhile, I have
it running. But not due to any example that was provided, just trial
and error. Something completely forgotten quickly, I am sure, as I
will not use Java again any time soon.

Applications in almost all other areas, C, C++, Perl, even Python
nowadays, have a typical "./configure; make; make test; make install"
path with a man page and an application. It would seem to me that Java
applications would be well served to provide that type of top-to-
bottom installation.

I now have it running, but it has several other things which are
pretty strange about it, like insisting it know about every function
ahead of time (i.e. strict checking). There is no "man rhino", of
course, so you can't easily find any command options on how to disable
it with a switch. It would be a long search through bizarrely-
structured documentation. So as usual, I will put the incantation in a
shell script that I feel should have been provided by the application
itself. And if I find an alternative, I will probably avoid using this
application because it is in Java, and it is obtuse. Upgrading will be
something done completely from memory of course, or maintained in my
own logs, as there is no INSTALL or UPGRADE file.

I probably would have avoided this completely once I saw it was in
Java but I had hope that a project hosted by Mozilla might not have
the usual Java obtuseness. I am sorry I am wrong.

On Sep 8, 1:34 pm, Emilian Bold <[email protected]> wrote:
For you I think these lines are the most important in my email:

[...]
Note: You might also want to read about the Java 
classpathhttp://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

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to