Theoretically, Java is platform independent and should work on any Windows, any Linux, any Mac, etc. without any changes. In practice, you need to verify that you are not using any platform-specific functions or parameters.
For instance:
- Jni
- Running command line tools for the platform
- Specific Platform File Paths
- Communication with platform-specific processes / services
- , (, ,
HKLM 7,8 ..). - , , (
\r\n vs \n, \ vs '/', ; vs :) - , .