Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
General Java Game Development
Natives
« previous
next »
Print
Pages: [
1
]
Natives
3 Replies
5651 Views
soxey6
3
Natives
«
on:
July 13, 2015, 10:32:12 »
How would I load the natives if they're in the jar?
Just a quick question. I've done some googling and I'm coming up with very vague results and I'm not quite understanding.
Logged
spasi
2258
Re: Natives
«
Reply #1 on:
July 13, 2015, 12:57:11 »
If you're talking about the maven artifacts, see the SharedLibraryLoader in this
sample project
.
Logged
soxey6
3
Re: Natives
«
Reply #2 on:
July 13, 2015, 13:41:19 »
No, i dont use maven (yet). I mean how can load the natives if they're inside my jar?
Logged
spasi
2258
Re: Natives
«
Reply #3 on:
July 13, 2015, 13:45:12 »
You must extract them first, usually to java.io.tmpdir. Which is exactly what the SharedLibraryLoader does.
Logged
Print
Pages: [
1
]
« previous
next »