Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Lua Development Tools » Problem using Mihini EE with LDT 0.9 under Win 7
Problem using Mihini EE with LDT 0.9 under Win 7 [message #1037130] Tue, 09 April 2013 07:48 Go to next message
Yong Jie He is currently offline Yong Jie HeFriend
Messages: 2
Registered: April 2013
Junior Member
Hi forum,

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 ?
Re: Problem using Mihini EE with LDT 0.9 under Win 7 [message #1037401 is a reply to message #1037130] Tue, 09 April 2013 14:10 Go to previous message
Kevin KIN-FOO is currently offline Kevin KIN-FOOFriend
Messages: 58
Registered: January 2010
Member
Hi,

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.

Happy coding Smile

[1] http://dev.eclipse.org/mhonarc/lists/koneki-dev/msg00074.html
[2] http://wiki.eclipse.org/Koneki/LDT/User_Area/Execution_Environment_file_format#Execution_Environment
[3] http://wiki.eclipse.org/Koneki/LDT/Developer_Area/User_Guides/User_Guide_0.9#Remote_session
Previous Topic:Working without the .lua file extention[LDT]
Next Topic:Documenting a Function That Returns an Array
Goto Forum:
  


Current Time: Thu Mar 28 21:19:08 GMT 2024

Powered by FUDForum. Page generated in 0.03290 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top