“My favorite tool in Java is hot code swapping in debug mode, meaning I can edit the code while the game is running and immediately see the results in the running game. This is super great for rapid tweaking. ”

― Markus "Notch" Persson, Creator of Minecraft

Named after the powerful Indonesian coffee, Java has been synonymous with computing and development for over a quarter of a century.

Today, it's the official language of Android, the world's most popular mobile operating system—if you're reading this article on a smartphone, there's an 86.6% chance you're viewing it on an Android.

Launched in 1994, Java helped pioneer the concept of WORA ("write once, run anywhere")—allowing a consistent experience to be deployed across multiple devices and platforms, without developers having to frantically rewrite every implementation.

Java blockchain SDK

Java consistently leads the list of the world's most popular coding languages, used by an estimated 711 million developers across the globe.

Why do these numbers matter?

You may have already seen that we've also launched EnjinCraft, a Minecraft plugin allowing server owners across the world to enhance their gameplay offering with blockchain assets.

However, EnjinCraft is only half the story today.

We're also thrilled to announce the release of the new, complete version of our open-source SDK for Java, which forms the backbone of the EnjinCraft plugin.

The Enjin SDK for Java

Minecraft, the best selling video game of all time with 200M sold copies, was built on Java—as was RuneScape, another successful title that reached the 200M accounts mark.

Java is considered a stable, reliable way to build large systems. Twitter is using it to support more than 400 million tweets per day, while Netflix is utilizing it to power through 2 billion daily content requests.

Java is used in a wide variety of computing platforms, from IoT and mobile phones to enterprise servers and supercomputers.

Considering the scale and breadth of Java development, the ways to integrate blockchain technology are almost endless—which is why the Enjin SDK for Java is open-source.

You're free to contribute to its development, play around with the source code, and modify it to meet your development goals and needs.

If you're comfortable with Java, you will now be able to easily integrate blockchain assets with your games, websites, apps, and other projects—and explore everything this powerful technology has to offer.

Introducing the EnjinCraft Plugin for Minecraft

Powered by the Java SDK, the EnjinCraft plugin brings blockchain to Minecraft—allowing players to integrate, use, and trade blockchain-based game items in their servers.

blog.enjin.io

What can you do with the Enjin SDK?

You can use our SDK to integrate blockchain with anything you build with Java, from games and servers to applications and websites.

The Enjin SDK for Java works the same way as our software development kits for Unity and Godot—allowing you to use your favorite programming tool (in this case, Java) to easily interact with the Enjin Platform API.

Out of the box, it comes packed with multiple features:

  • Authentication: Easily authenticate projects (via app ID & secret) and users (via unique ID).
  • User Management: Get current players, player identities, and player balances.
  • Wallet Linking: Enable users to link their Ethereum addresses with their accounts in your Java application by simply scanning a QR code.
  • Create Requests: Approve and initiate transactions of Enjin Coin and blockchain assets.

As an added convenience, the Java SDK also uses GSON to (de)serialize data/objects, so you don't need to implement your own object types and deserialization. You can also use both synchronous and asynchronous execution of queries/mutations (using callbacks for the asynchronous).

The SDK is a quick, simple "plug-and-play" method to interact with the Enjin Platform—without having to write the entire implementation yourself.

We hope you enjoy exploring it!

To build the kind of tech that we do, we often joke that anything Powered by Enjin was also fueled by coffee. We can raise a cup of Java to that! ☕️

Evolve Your Game with the Enjin SDK

Easily integrate blockchain into anything you build with Java, from games and servers to apps and websites.