Java is great way to make aÂ cross-platform product.Â But for various reasons, Java may not be the right technology.Â Here are some technologies that might help.
QT from Nokia is a good cross-platform GUI framework.Â It is LGPL licensed.Â It is feature rich and comes with a lot of classes to make cross-platform programming easier.Â If you are used Java’s Swing, it will be similar.Â However, if you are used to sub-classing Swing elements, you will be looking for a different way to do things in QT.Â The heavy lifting of QT classes is private classes with the public classes and methods being more of an API into the private classes.Â The event model in QT slot/signal based.
WxWidgets is another LGPL GUI framework.Â I haven’t used it, but others speak highly of it.
Ice from ZeroC is a communications framework.Â It is not only cross-platform but cross-language.Â This allows a client program to be written in whatever language that Ice supports and the server can be written in a different language.Â This flexibility is especially nice for distributed applications.Â A client program could use a simple scripting language and the server could make use of a more robust compiled language.Â They use an IDL to create the interfaces for the programs.Â Implementing the interfaces is quite simple and makes the client-server communication a breeze.
Boost is a collection of high qualityÂ cross-platform libraries.Â They contain a lot of the objects one needs to deal with different operating systems in an abstract manner, like the filesystem.Â Their smart pointer and threading libraries are useful.
This is not an exhaustive list, but it should give an idea of the alternatives to Java.Â These alternatives are not without their drawbacks.Â You will need to compile a binary(ies) for each target system.Â Java has the clear advantage in this with its bytecode and virtual machine.