Page 1 of 1

Eclipse Error/Some questions about this

Posted: Sun Nov 11, 2012 11:28 am
by PedroChurro
Hi,


So, when a saw this, I immediately wanted to try. So, I follow this viewtopic.php?f=11&t=8415 tutorial, and when I try to run eclipse it says "Failed to load JNI shared library". Do you guys know a fix to this? It would be really helpfull.(BTW, I copied the jre7 folder on Program Files > Java and pasted it in the eclipse folder, and changed the name from jre7 to jre)

And also, do this changes/adds any code? Like, if I put the code love.keyboard.isDown("right") and run the game on a touch screen Android, what will the Android understand? Will it do the code if I touch on the screen right-ish?

Thanks.
(Sorry for my bad english)

Re: Eclipse Error/Some questions about this

Posted: Sun Nov 11, 2012 11:33 am
by T-Bone
Not sure about the error, but in order to use the touch screen, you can simply use love.mousepressed etc.

Re: Eclipse Error/Some questions about this

Posted: Sun Nov 11, 2012 11:44 am
by PedroChurro
T-Bone wrote:Not sure about the error, but in order to use the touch screen, you can simply use love.mousepressed etc.

Wow, didn't remember of that. Thanks!

Re: Eclipse Error/Some questions about this

Posted: Sun Nov 11, 2012 4:48 pm
by Petunien
I remember that error, I had it too. I was using a wrong version of JDK.

Like other guys say, installing the right 32-/64-Bit version of JDK/Eclipse should solve the error.
They have to match each other.

http://stackoverflow.com/questions/1058 ... ed-library

Re: Eclipse Error/Some questions about this

Posted: Sun Nov 11, 2012 5:05 pm
by PedroChurro
Petunien wrote:I remember that error, I had it too. I was using a wrong version of JDK.

Like other guys say, installing the right 32-/64-Bit version of JDK/Eclipse should solve the error.
They have to match each other.

http://stackoverflow.com/questions/1058 ... ed-library
Looks like I had the 32-Bit Java and 64-Bit Eclipse. Thanks!