Certain libraries make Jars unable to recieve input?! [unsolved]
I'm making a project that takes in data from the command line using the Scanner in the typical way. I am usually able to pipe from a text file or another device.
I switched out a lot of the code in the project to run with the "Light Weight Java Gaming Library". In eclipse it works fine and the program reads things typed in the console. However, when I run it from the command line as a fat jar (using "java -jar project.jar") it does not receive and data piped into it or typed in the command line.
When the program ends, all of the commands typed into the console while the program was running become visible, along with an error message. It looks like this:
'[command]' is not recognized as an internal or external command, operable program, or batch file.
For example, the program found here ( OpenAL Tutorial 1 - Single Static Source - LWJGL ) works fine in eclipse, but the moment you take it to command prompt as a fatjar, it refuses to take any input from the user (strings written into the scanner) and just sits there.
Does this have something to do with the structure of LWJGL displays or something similar? How can I successfully pipe data into my Jar?