Can't create the java module from lua with jnlua-0.9.5
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1. I've followed the Getting started guide.
2. I tried to load the java module in lua with the JavaVMModule guide
3. I made a lua script with the following code:
package.cpath =
package.cpath..";./?.dll;./?.so;../lib/?.so;../lib/vc_dll/?.dll;../lib/bcc_dll/?
.dll;../lib/mingw_dll/?.dll;"
javavm = require("javavm")
javavm.create("-Djava.class.path=jnlua-0.9.5.jar")
Please note that jnlua5.1.dll, javavm.dll and jvm.dll(from jdk6) in the
package.cpath.
What is the expected output? What do you see instead?
Then I get a runtime error and the lua interpreter simply crash instead of
working just fine.
The crash happen when I try to create the java vm with the jnlua-version.jar
What version of the product are you using? On what operating system?
I'm using lua 5.1 with Windows 7 with jnlua-0.9.5
Please provide any additional information below.
The PATH was correctly setted and I followed the instruction.
Original issue reported on code.google.com by antogerva
on 18 Apr 2013 at 10:24
Google Code Exporter commented
I'm also using the x86 package
Original comment by antogerva
on 18 Apr 2013 at 10:25
Google Code Exporter commented
I notice you are using mingw. The only configuration I have tested are the
Microsoft runtime libraries.
Original comment by an...@naef.com
on 16 May 2013 at 8:23
Google Code Exporter commented
Original comment by an...@naef.com
on 28 Jul 2013 at 10:20
- Changed state: WontFix