To avoid swapping, you will need to add more physical RAM.
If your application (Oracle Coherence) demands a large amount of RAM as a part of normal operation (i.e. not a memory leak), and you do not have enough physical memory, then pretty much the only option is swapping.
As a workaround, you might want to swap to a file, though this can be slower.
1. Create an empty file using `dd`: `dd if=/dev/zero of=/path/to/swapfile bs=1M count=
2. Create a swap filesystem on it: `mkswap /path/to/swapfile`
3. Swap on it: `swapon /path/to/swapfile`.