![]() |
saving console content to file Hi, I have written a program that outputs numerical results to the console in java(using eclipse). The problem that i have is that i want to copy or save the entire console content to a .txt file. How could i do this please? Thank you for your help |
Re: saving console content to file Select all, Copy, command-control-N, paste is how we all usually do it. |
Re: saving console content to file Instead of coping and saving, you also have an option of redirecting console which will serve the same purpose. For redirecting console to a file - System.setOut(new PrintStream(new File("your file")); |
All times are GMT +5.5. The time now is 11:21 AM. |