Ask the Expert

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

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: