This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi guys! I'm trying to make a game, it's not too much, but i'm just starting in this world. So far, i've been enjoying it. But, my first problem came out.
I had 3 computers, i'm gonna give you the os of every pc:
Pc number 1:
My main computer, where i'm programing,
Windows 7 64 bits os
Pc number 2:
A desktop computer, which i use as a backup.
Windows 7 32 bits
Pc number 3:
A friends computer which i just formatted.
Windows 7 32 bits.
All right, so, the pc number 1, it's where i use netbeans 7.3 IDE, i changed the manifest so i can use lwjgl and it can run with just double clicking the jar. I created the jar, and it's working.
Now, i took it to the computer numer 2, and it didn't do ANYTHING, no window, no nothing.
I took it to the pc numer 3, there, i ran it, and it runs perfectly, no errors, no nothing. So, i took it back to pc 2, and ran it from the cmd, and it's giving me this error:
Exception in threead "Main" java.lang.UnsatisfiedLingError: Can't load library: C:\Usaers\hectlr (jaja yeah, i made a mistake with my pc and put hetclr insead of hector jaja)\lib\natives\lwjgl.dll
Now, what's been bothering me, it's that, WHY it's trying to locate the lwjgl.dll in that path, if in the others pc, i don't even have that path, i mean, my main pc it's users\hectorhammet and my friend's is users\pedro. And i dont' have the .dll in there at all. Why is it looking there?
If it helps, i'm putting the structure of my project:
In netbeans, it creates a folder called lib
There i have the lwjgl.jar, and inside i have another folder named natives:
THere, it's the lwjgl.dll. So, if it's there, why it's not looking in there in THAT computer!. It's driving me insane!.
Any help would be REALLY apretiated.