Comments (3)
This same issue has come up twice before and it's starting to make me worry about using Rhino now. In both the other cases the OS was Mac. Can you confirm what your OS is?
In fact this same problem bit me about a year ago when I first started working with the newest version of Rhino, and like you I was convinced I had no other Rhinos installed to interfere. But here's how you can prove that one way or another: open a terminal and cd to the jsdoc directory. Enter the following command:
$ java org.mozilla.javascript.tools.shell.Main
If you 1) get an error because there is no Rhino found, or 2) if you see a message about like "Rhino 1.7 release 3 PRERELEASE 2010 03 24" then you are correct and no other Rhino is interfering.
However if you don't get an error, and you see a message about an earlier version of Rhino, then you do have another version of Rhino installed somewhere. If you are on a Mac I can tell you some places to look, but first try the test I described above.
from jsdoc.
I am on a mac, I'll try what you said monday. Thank you.
from jsdoc.
If you find that another Rhino is being run, have a look in the ~/Library/Java/Extensions/ directory for something named js.jar. On a Mac that folder is special because any classes found there will always take precedence over any other that you are trying to import. You can either remove the offending Rhino or replace it with a copy of the newer one.
from jsdoc.
Related Issues (20)
- JSDoc does not correctly parse the default value of the property tag
- Does it work with unknown tags ? HOT 1
- Instance members starting with a hash are not documented correctly. HOT 1
- jsdoc.app page down HOT 1
- jsdoc fails when ES6 classes have private members (`#fieldname`)
- Mixin fields are documented twice on class declarations with a constructor HOT 1
- jsdoc for globalThis
- How to document properties with colon? HOT 2
- npmignore includes necessary `test` directory
- Filtering an output before generating documentation
- Tests fail on Node.js 20.10.0 (and maybe Node.js 20.x)
- Inline syntax HOT 9
- Description getting generated twice in the HTML HOT 1
- MetaMask
- Bug in nodeToValue conversion of object literals
- [Question] Documenting destructured function argument with rest parameter
- saltydb missing inner join used in default template HOT 4
- How do I read JSDocs?
- Bug: with option `-c` config file ends with `.cjs` is still treated as JSON
- BUG: Use object shorthand or index signatures being applied to JavaScript files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsdoc.