Introduction
There are several Java virtual machine (jvm) flavors that are routinely used to develop and run sipX. Those that work with sipX are described here, along with instructions on how to install them.
Managing multiple JVMs on a single system
If you need to have several jvm versions on the same system, the easiest way to use them is by using the alternatives command. Any jvm that is installed using the instructions on this page will be available to be configured via alternatives. Note that when switching from one jvm to another, you will also want to switch the verion of javac you are using, if you are building from source.
Panel |
---|
alternatives --config java |
OpenJDK
sipXecs is now compatible with OpenJDK. Sun is still the most tested JVM on CentOS as of sipXecs 4.4. OpenJDK now ships on CentOS 5.5 so it can replace the need to build sun-java on build server.
Sun Java
The default instructions for setting up a development environment for sipX detail how to install the Sun jvm/jdk using RPMs from the sipX yum repository.
- Go to Setting up a development environment on Fedora if you are on Fedora, CentOS 5 or RedHat EL5, x86 32-bit
- Go to Setting up a development environment for RHEL4 and CentOS4 if you are building for CentOS4 or RedHat EL4, x86 32-bit.
IBM Java
The easiest way to get IBM's jvm/jdk installed is to use IBM's jpackage installer. This consists of a .tar.gz archive containing the necessary RPMs. Installing these RPMs will result in a IBM jvm that is ready to be managed by alternatives.
...