> Can anybody give a solution for this scenario? > We have a java application running on NT. > The vendor does have some platform specific data in a DLL. > The application could be run on a Solaris platform also. > And I do have the .so file for Solaris platform. > I did try to run the application on Linux/390 with the > Solaris .so file, > but I am getting 'invalid ELF Header message'. > I do not have access to the source code. > How can I port this application to Linux/390?
So much for "write once, run anywhere" Java applications, hmm? The answer is: you can't. If there is platform specific info in a compiled file and you don't have source code for that module, you can't port the application unless you can write replacement routines. If you can figure out what the platform-specific code does and write replacements, you should be able to link those classes into your application in place of the compiled stuff. -- db
