If you want to know about Character set used by Java on Linux Server then follow the following Steps:
1.) Create a file named as CharacterEncodingExample.java.
2.) Copy & Paste the code to new created file.
3.) Compile Java source code as :
4.) Then run the compiled program.
[mc26157@ph132704]~$ java CharacterEncodingExample
defaultCharacterEncoding by property: UTF-8
defaultCharacterEncoding by code: UTF8
defaultCharacterEncoding by charSet: UTF-8