Answer the question
In order to leave comments, you need to log in
How to use cat to write an Exception that occurs to a file?
When the application starts, an Exception occurs, it can be read in the console. How can I use cat to write this Exception to a file?
I tried to do this, but the Exception is not written to the file:
$ cat | java -jar ./myapp.jar > cattest.log
Exception in thread "LWJGL Application" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/gp/.../liblwjgl.dylib
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question