|Could not initialize class com.naef.jnlua.LuaState [message #1077909]
||Fri, 02 August 2013 09:54
| Kyle Hunter
Registered: August 2013
When I initially downloaded Lua Development Tools, when creating a project or trying to open a Lua file in the editor, I would get an error message:
Could not initialize class com.naef.jnlua.LuaState
After repeating the procedure multiple times, I got a new error before the aforementioned error:
java.lang.UnsatisfiedLinkError: C:\Users\Kyle\Downloads\LDT\configuration\org.eclipse.osgi\bundles\7\1\.cp\lib\jnlua5.1.dll: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail
Curiously enough, this UnsatisfiedLinkError did not seem to always display in my .log file.
I was able to solve the problem by installing "Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)". Apparently, this redistributable is required by jnlua. However, this dependency is not listed on the LDT page or jnlua page to my knowledge. It's probably common to have installed, but [my copy of] Windows 7 only comes with the 2010 redistributable by default. Hopefully this may help someone else experiencing the same problem as I could not find any information on it.
Anyways, excellent job on the IDE. I'm excited to see an Eclipse platform for Lua that is regularly maintained.
Powered by FUDForum
. Page generated in 0.02427 seconds