i have googled my heart out! I am trying to figure out how to output any errors a java class might give when executing java from the Windows command line.
For insta
Use:
java -jar class.jar <someFile.file> 2>> log.txt
The 2 redirects the error stream.
or you can use bat file to easily direct all output to a text file in command prompt
C:> something.bat > console_output.txt