Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). The Ignite Realtime Community manage and maintain Openfire releases.
This is a guide of setting up Openfire project in JAVA IDE IntelliJ IDEA.
Openfire is based on JAVA programming language, so if we want to work with source code, Java Development Kit(JDK) must be installed on our machine.
Download and install Java SE(Standard Edition) depending upoun your OS. Here is the instruction for installing JDK on Oracle Solaris, Windows, Linux, and OS X computers.
Export JDK path to your OS environment variable as JAVA_HOME
Note: Please install JDK first, otherwise IntelliJ IDEA won't work.
Download and install IntelliJ IDEA Community Edition respective to your OS. Click Here to setup IntelliJ IDEA on your machine. After setup, you should be able to see a start screen like below.
Now, comes the most exciting part. In this section, we will setup openfire with IntelliJ IDEA.
Steps:
Now, IntelliJ IDEA will load and open Openfire project, you should be able to see something like this
Openfire uses Apache Ant to build server source code and and plugins
openfire.sh
or openfire.exe
executable file in your Openfire/target/openfire/bin/openfire.sh
folder.
6.) Open Terminal, iTerm2, cmd and run executable according to your OS