If a start my application using the parameter file.enconding and then my JVM creates another JVM file.enconding parameter will not be inherited be the second JVM. The second JVM will use the system enconding.
Can I set the JVM to open another JVM with the same file.enconding ?
You can pass
-Dfile.encoding=YOURENCODINGas a command line argument to the second JVM.