Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » Could not initialize class com.naef.jnlua.LuaState(The application has failed to start because its side-by-side configuration is incorrect.)
Could not initialize class com.naef.jnlua.LuaState [message #1077909] Fri, 02 August 2013 09:54 Go to next message
Kyle Hunter is currently offline Kyle Hunter
Messages: 2
Registered: August 2013
Junior Member
Hello,

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.

Cheers,
Kyle
Re: Could not initialize class com.naef.jnlua.LuaState [message #1082239 is a reply to message #1077909] Thu, 08 August 2013 09:31 Go to previous message
Marc Aubry is currently offline Marc Aubry
Messages: 79
Registered: August 2012
Member
Thanks for sharing your feedback, it is really appreciated as we are not comfortable with compilation and dynamic linkage, even on windows.
Previous Topic:Execution Environment imported by default
Next Topic:Koneki LDT 1.0 (on Windows): Debugging not working
Goto Forum:
  


Current Time: Tue Sep 23 02:34:55 GMT 2014

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

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