Porting Solaris apps to Linux
Is it easier to port Solaris applications written in Java to Linux? What would be the difficulties in porting applications written in other languages?

    Requires Free Membership to View

    When you register, my team of editors will also send you resources covering Linux administration and management; integration and interoperability between Linux, Windows and Unix; securing Linux and mixed-platform environments; and migrating to Linux.

    Margie Semilof, Editorial Director

    By submitting your registration information to SearchEnterpriseLinux.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchEnterpriseLinux.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Yes, pure Java applications should run on any operating system where the required run time environment (JRE) is available. If the Java application uses native code, then some effort is required to port the native code to Linux.

Generally speaking, it is straightforward to port an application from Solaris to Linux. In fact, many porting issues for C and C++ applications normally arise from poorly written code that depends on endian-ness (Intel x86 processors are little endian where as the Sun Sparc processors are big endian)of the host processor.

This was first published in March 2005