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 LWJGL. 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.
Does this have something to do with the structure of LWJGL displays or something similar? How can I successfully pipe data into my Jar?
Thanks