| Will custom Java code written and tested on Windows work under Linux? |
| Categories: Audium OpenSDK |
| Article ID: | 74 |
| Last updated: | November 02, 2006 |
| User Opinions |
|
No users have voted.
|
|
Thank you for rating this answer.
|
SUMMARY
If some custom Java code (e.g. an element, SayItSmart plugin, etc.) is written on Windows, and tested on Audium Call Services running on Windows, will this same code work when used on Audium Call Services running on Linux (or another platform)?
SYMPTOMS
Some custom code has been created, compiled, and tested on one platform, and the developer would like to use it on another platform but is unsure if it will cause problems.
RESOLUTION
Since Java is a cross-platform language and runs within a Virtual Machine, portability is generally painless. Code written, compiled, and tested on Windows should be seamlessly portable to Audium Call Services on Linux (or any other platform certified by Audium).
However, this is only true if platform-specific code was not used. A common example of platform-specific code is hardcoded path separators, such as "\" on Windows and "/" on Linux. Another example would be making use of 3rd party libraries that are tied to a particular platform.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Attachments |
|
No attachments were found.
|