Most forked projects

Top 5 most popular Java projects on GitHub

Jane Elizabeth
© Shutterstock / retro67

What kind of projects are we working on? We took a look at the top 5 most popular Java projects on GitHub to see what everyone is excited about. From Mockitos to Guava, there are a lot of delicious projects getting forked on GitHub.

There are a lot of Java projects out on GitHub. (Roughly 744K, to be precise.) But which projects are developers most excited about? Today, we’re taking a look at some of the most popular Java repositories on GitHub.

1. Mockito

Despite the name, Mockito is not an alcohol-free mixed drink. Instead, it is the most popular mocking framework for unit tests written in Java. Mockito continuously delivers improvements using Shipkit library.

Mockito 2.0 offers better API for advanced framework integrations. This isn’t intended for users writing unit tests, but for other test tools and mocking frameworks that need to extend or wrap Mockito with custom logic.

2. java-design-patterns

We haven’t talked about java-design patterns in ages. But this project has continued to improve in the meanwhile. This one is exactly what’s on the tin: java-design-patterns allows developers to implement design patterns in Java.

In particular, design patterns are the formalized best practices that help developers solve common problems when they are designing an application or system. They help speed up the development process by providing tested and proven development paradigms. Plus, reusing patterns can help prevent small misalignment issues become big problems down the line.

SEE MORE: Top 10 Java libraries for saving time

3. RxJava

We already knew that RxJava was one of the most popular Java repos on GitHub and a popular framework for some time. Based off the ReactiveX API, RxJava is a library for composing asynchronous and event-based programs using observable sequences for the Java VM.

RxJava extends the observer pattern to support sequences of data and events. It also adds operators that allow developers to compose sequences together declaratively while abstracting away concerns about things like low-level threading, synchronization, thread-safety and concurrent data structures.

4. MpAndroidChart

MPAndroidChart is new to us here at JAXenter. It’s a powerful and easy to use chart library for Android development that runs on API level 8 and higher. By using MPAndroidChart, developers can draw various graphs for Android applications.

Think of this as the data visualization tool for mobile developers. If you’re looking for charts, MPAndroidChart has got ‘em: LineChart, BarChart (vertical, horizontal, stacked, grouped), PieChart, ScatterChart, CandleStickChart (for financial data), RadarChart (spider web chart), BubbleCharts, and Combined Charts. (The word chart no longer has any meaning.)

SEE MORE: GitHub Trending: The community is interested in Flutter, Xray, TensorFlow & Vue.js

5. Guava

This groovy Google core library for Java has been around for ages, but it’s still an extremely helpful open source tool for developers of all kinds. It’s one heck of a time-saver, with basic utilities to make using the Java language more pleasant to use, extensions to the JDK collections ecosystem, other utilities like caches, functional idioms, and more.

In particular, Google Guava is great for ordering collections. This function is one of the most mature and developed features in Guava, allowing developers to compare contents of collections with a very advanced sort and compare function in ComparisonChain.

Jane Elizabeth
Jane Elizabeth is an assistant editor for

Inline Feedbacks
View all comments