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

where are shell ,fs libs? #75

Open
buyi opened this issue Mar 29, 2018 · 2 comments
Open

where are shell ,fs libs? #75

buyi opened this issue Mar 29, 2018 · 2 comments

Comments

@buyi
Copy link

buyi commented Mar 29, 2018

A error is throwing when i excute “lua test_jvml.lua” command

lua: test_jvml.lua:2: attempt to index global 'shell' (a nil value)
stack traceback:
test_jvml.lua:2: in main chunk
[C]: ?

where are shell ,fs libs?i can not find them in repository everywhere...

@SquidDev
Copy link

This was originally designed to run under the Minecraft mod ComputerCraft, which doesn't offer quite the same standard libraries as PUC Lua. I suspect you'll have to do a reasonable amount of manual editing to get it to run under normal Lua.

@buyi
Copy link
Author

buyi commented Mar 30, 2018

first,thank you for your reply. it help me a lot.
second,i do this just for finding a way to covert java to lua (sourcecode or bytecode).
After i walk along so much times, there is not a better way to support my idea, do you have any suggestion?

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

2 participants