Prerequisites
Before you begin, ensure you have:- Java Development Kit (JDK) 1.7 or higher installed
- A Java IDE (NetBeans, IntelliJ IDEA, Eclipse, etc.)
- Maven (if using Maven installation method)
- A Flutterwave account with API keys
Don’t have a Flutterwave account yet? Sign up for a test account to get started with sandbox API keys.
Installation methods
You can install the Rave Java Library using either Maven (recommended) or by manually adding the JAR file to your project.Option 1: Maven installation (recommended)
If you’re using Maven for dependency management, add the following dependency to yourpom.xml file:
Update Maven dependencies
Run
mvn clean install in your terminal or use your IDE’s Maven sync feature to download the library.Option 2: JAR file installation
If you’re not using Maven, you can manually add the JAR file to your project:Download the JAR file
Download the latest
Rave-Java-Library JAR file from the GitHub releases page.IDE setup instructions
Once you have the JAR file, follow the instructions for your IDE:Verify your installation
To verify that the library is properly installed, create a simple test file:VerifyInstallation.java
Dependencies
The Rave Java Library includes the following dependencies (automatically managed if using Maven):- Apache HttpClient for HTTP communication
- JSON library for data parsing
- SLF4J for logging
Next steps
Configuration
Configure your API keys and environment settings
Quickstart
Process your first payment with a step-by-step guide