Skip to content
This repository

MessagePack serializer implementation for Java /[Java]

MessagePack for Java

MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON but it's faster and smaller. For example, small integers (like flags or error code) are encoded into a single byte, and typical short strings only require an extra byte in addition to the strings themselves.

You may be interested in how msgpack-java is faster than the other libraries. To know this, please see jvm-serializers, which is one of well-known benchmarks for comparing Java libraries of data serialization.

Build Status

Quick start

Quick start for msgpack-java is available at Wiki.


To build the JAR file of MessagePack, you need to install Maven (, then type the following command:

$ mvn package

To locally install the project, type

$ mvn install

To generate project files (.project, .classpath) for Eclipse, do

$ mvn eclipse:eclipse

then import the folder from your Eclipse.

Next, open the preference page in Eclipse and add the CLASSPATH variable:

M2_REPO = $HOME/.m2/repository

where $HOME is your home directory. In Windows XP, $HOME is:

C:/Documents and Settings/(user name)/.m2/repository

How to release

To relese the project (compile, test, tagging, deploy), please use the commands as follows:

$ mvn release:prepare
$ mvn release:perform


This software is distributed under Apache License, Version 2.0.

Something went wrong with that request. Please try again.