Creating runnable jar file with lwjgl classes

How to create runnable jar file with lwjgl library? You can look at WIP games or showcase, all games in these sections have runnable jar files, i want to do same thing.
How to do it? Any tutorials or explanations?

What exactly do you mean?
If you are talking about having the natives inside the .jar, take a look on something like JarSplice…

i want to create runnable jar file with lwjgl libraries, right now i can start my games only in eclipse.

Er… ok… but you know how to export a normal runnable jar?

yes, i am doing it with export in eclipse

EDIT:
but with eclipse if i want to do it runnable, i can use only one class, or i can create just jar with multiple classes

Use JarSplice.

  1. Export your project as a runnable jar with the libraries in a separate folder next to the created Jar file (the last option in the export options).
  2. Open JarSplice, add the exported jar file and any jars exported in the folder that eclipse generated.
  3. Add the LWJGL natives in the natives tab
  4. Specify the main class. For example, if I have my main method in the Game class under package com.opiop.game, then the path will be com.opiop.game.Game
  5. Generate the jar file under the last tab

It should work perfectly fine.

Is this your problem?:
When exporting an executable jar from eclipse, it puts all the classes needed automatically into the jar.
Use JarSpllice for not having to have the natives inside the same folder to run it when exportet.