Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsProblem using Mihini EE with LDT 0.9 under Win 7
https://www.eclipse.org/forums/index.php/mv/msg/472686/1037130/#msg_1037130
I am new to LDT. I have a problem that I can't found answer for hours.
I have add mihini-0.8.zip into my LDT Lua Execution Environments.
Then I create a new Lua project with Execution Environment mihini-0.8.
When I run the default main.lua, Exception show up:
Exception in thread "main" com.naef.jnlua.LuaRuntimeException: ...:\wood\work\workspaces\koneki_ldt\hello\src\main.lua:1: module 'sched' not found:
no field package.preload['sched']
no file 'C:\wood\work\workspaces\koneki_ldt\hello\src\sched.lua'
no file 'C:\wood\work\workspaces\koneki_ldt\hello\src\sched\init.lua'
no file 'C:\wood\work\workspaces\koneki_ldt\hello\src\sched.luac'
no file 'C:\wood\work\workspaces\koneki_ldt\hello\src\sched\init.luac'
no file '.\sched.dll'
no file '.\sched51.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\sched.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\sched51.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\clibs\sched.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\clibs\sched51.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\loadall.dll'
no file 'C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin\clibs\loadall.dll'
at com.naef.jnlua.LuaState.lua_pcall(Native Method)
at com.naef.jnlua.LuaState.call(LuaState.java:555)
at org.eclipse.koneki.ldt.support.lua51.internal.interpreter.JNLuaLauncher.run(JNLuaLauncher.java:122)
at org.eclipse.koneki.ldt.support.lua51.internal.interpreter.JNLuaLauncher.main(JNLuaLauncher.java:137)
And my package.path is :
C:\wood\work\workspaces\koneki_ldt\hello\src\?.lua;C:\wood\work\workspaces\koneki_ldt\hello\src\?\init.lua;C:\wood\work\workspaces\koneki_ldt\hello\src\?.luac;C:\wood\work\workspaces\koneki_ldt\hello\src\?\init.luac;
Kevin KIN-FOO! Can you help me ?]]>Yong Jie He2013-04-09T07:48:23-00:00Re: Problem using Mihini EE with LDT 0.9 under Win 7
https://www.eclipse.org/forums/index.php/mv/msg/472686/1037401/#msg_1037401
I agree with Benjamin earlier answer[1].
Mihini is an embedded framework which needs to be installed on an Linux/Unix machine.
The Mihini Execution Environment is here to ease development with Koneki LDT, it has nothing to do with runtime.
Maybe you want to have look on the concept itself[2].
You can even use Koneki LDT to debug your code remotely[3] on Linux/Unix SSH device.