-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
java.io.File not working #342
Comments
its specifically the File.exists() method that doesn't work |
Please leave more info for the troubleshooting. OS, CPU arch, source code, etc. |
its for a Minecraft plugin
java.io.IOException: Den angivne sti blev ikke fundet
|
It seems to be a permission issue? |
It only happens when using the node runtime, doesn't happen when using v8 runtime |
Well, I don't play Minecraft. Here are some ideas for your reference.
|
If you write Spigot/Fabric/Forge plugins or mods, you can embed the Rhino engine, otherwise the plugins will be very large, and my suggestion is to use them more widely for embedded apps. |
Pls what happened to the problem that the engine of 3.1.2 does not work, I still can't run, no code has been changed, 3.1.1 is working normally. |
after alot of trial and error the issue seems to come from the setResourceName method on the executor |
You may workaround it if it causes issues at your end. Please refer to this commit for detail. |
It's now surrounded by a |
When using a node instance the java.io.File class doesn't work
The text was updated successfully, but these errors were encountered: