LWJGL in IntelliJ IDE

How do you set up the natives from LWJGL in IntelliJ IDE?
I know how to do it in eclipse, but in IntelliJ it’s pretty confusing

INFO:
Here is where the path to the natives are :

C:\Users\UserName\Desktop\HelloWorld\lib\natives\windows
I know I have to enter the following code in the Run Configuration in VM

-Djava.library.path=[]

This is what I did :

-Djava.library.path=[C:\Users\UserName\Desktop\HelloWorld\lib\natives\windows]

And I got this error

//
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
	at java.lang.Runtime.loadLibrary0(Runtime.java:849)
	at java.lang.System.loadLibrary(System.java:1088)
	at org.lwjgl.Sys$1.run(Sys.java:73)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
	at org.lwjgl.Sys.loadLibrary(Sys.java:95)
	at org.lwjgl.Sys.<clinit>(Sys.java:112)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
	at Main.start(Main.java:10)
	at Main.main(Main.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)

Process finished with exit code 1
//

I too am running into trouble resolving this… but believe you should use “” instead of []

e.g.

-Djava.library.path="C:\Users\UserName\Desktop\HelloWorld\lib\natives\windows"

With LWJGL3, you can just keep the natives JAR artifacts in the classpath and it will figure out. If on LWJGL 2, you can use this NativesLoader class of mine. You may need to adapt it for newer dependencies you might be needing though.