
Hi, I am trying to solve an critical problem. I have an application which write a batch file using the method println from the PrintWriter class from java api, this method uses the default line separator from O.S. \n on unix, but I am trying to change to \r\n.
I change the run.conf script from jboss I added the parameter -Dline.separator=separator
I used \r\n, \015\012 , \0d\0a but none solve my problem, Jboss just understand \r, \015 and \0d, writing in the file just the CR caracter.
What the way to configure CR+LF caracter on JBoss?
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.