Browse free open source Java Libraries and projects below. Use the toggles on the left to filter open source Java Libraries by OS, license, language, programming language, and project status.

  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Get Started Free
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 1
    Spring AI

    Spring AI

    An Application Framework for AI Engineering

    Spring AI is a framework within the Spring ecosystem that simplifies the integration of artificial intelligence capabilities into Java applications by providing abstractions over various AI services and models. It is designed to align with familiar Spring development patterns, allowing developers to incorporate AI features such as chat, embeddings, and prompt handling using consistent APIs. The framework supports multiple providers, including OpenAI, Azure OpenAI, and other compatible services, enabling flexibility in deployment strategies. It focuses on production readiness by offering features such as configuration management, observability, and integration with Spring Boot applications. Spring AI also includes support for retrieval-augmented generation, enabling applications to connect language models with structured and unstructured data sources. Its architecture encourages modular design, making it easier to extend or swap components without rewriting large parts of the system.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 2
    Spring Cloud Sleuth

    Spring Cloud Sleuth

    Distributed tracing for spring cloud

    Spring Cloud Sleuth provides Spring Boot auto-configuration for distributed tracing. Sleuth configures everything you need to get started. This includes where trace data (spans) are reported to, how many traces to keep (sampling), if remote fields (baggage) are sent, and which libraries are traced. Add Spring Cloud Sleuth to the classpath of a Spring Boot application (together with a Tracer implementation) and you will see trace IDs in logs.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 3
    TableView for Android

    TableView for Android

    Powerful Android library for displaying complex data structures

    TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells. TableView relies on a separate model object to hold and represent the data it displays. This repository also contains a sample app that is designed to show you how to create your own TableView in your application.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 4
    WebRTC Android

    WebRTC Android

    webrtc VideoCall VideoConference

    WebRTC Android is a sample project that showcases how to implement real-time peer-to-peer communication (audio, video, and data) on Android using WebRTC. It demonstrates a complete pipeline—from signaling and connection setup to media capture and transmission—making it an excellent reference for developers looking to integrate WebRTC into their mobile apps. The project includes UI components and handles network state changes, codec configuration, and ICE negotiation to provide a robust base for real-world applications.
    Downloads: 3 This Week
    Last Update:
    See Project
  • Save Up to 91% on Cloud Compute With Spot VMs Icon
    Save Up to 91% on Cloud Compute With Spot VMs

    Automatic sustained-use discounts. One free VM per month. No negotiation needed.

    Run batch jobs at 60-91% off with Spot VMs. Long-running workloads get automatic discounts with sustained use.
    Try Free
  • 5
    fastjson

    fastjson

    A fast JSON parser/generator for Java

    Fastjson is a Java library that can be used to quickly convert Java Objects into their JSON representation or convert JSON strings to their equivalent Java object. Based on benchmarks it provides the best performance in both server side and Android client, and can work with arbitrary Java objects, even those pre-existing objects of which you do not have the source code. Fastjson provides a simple conversion method to turn Java objects to JSON and vice versa, with extensive support of Java Generics and arbitrarily complex objects.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 6
    libsu

    libsu

    A complete solution for apps using root permissions

    libsu is a modern Android library that provides a safe, convenient API for executing commands with root privileges and interacting with the Android shell. Instead of ad-hoc Runtime.exec calls, it offers structured sessions, proper I/O streams, and lifecycle handling that works reliably across devices. The library focuses on developer ergonomics: thread-safe helpers, Kotlin-friendly APIs, and utilities for file operations, process management, and parcelable data transfer. It’s designed to interoperate smoothly with Magisk-based root environments while degrading gracefully on non-rooted devices when possible. Attention is given to security and correctness—avoiding resource leaks, handling timeouts, and containing elevated operations to explicit scopes. For apps that legitimately need privileged automation or maintenance tasks, libsu becomes the backbone that keeps the “root” parts predictable and testable.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 7
    openHAB Distribution

    openHAB Distribution

    The binary distribution of openHAB

    The open Home Automation Bus (openHAB) project aims to provide a universal integration platform for all things around home automation. It is a pure Java solution, fully based on OSGi. It is designed to be vendor-neutral as well as hardware/protocol-agnostic. openHAB brings together different bus systems, hardware devices, and interface protocols by dedicated bindings. These bindings send and receive commands and status updates on the openHAB event bus. This concept allows designing user interfaces with a unique look&feel, but with the possibility to operate devices based on a big number of different technologies. Besides the user interfaces, it also brings the power of automation logic across different system boundaries.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 8
    rtmp-rtsp-stream-client-java

    rtmp-rtsp-stream-client-java

    Library to stream in rtmp and rtsp for Android. All code in Java

    Library for streaming in RTMP and RTSP. All code in Java.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 9
    iText®, a JAVA PDF library

    iText®, a JAVA PDF library

    PDF Library for Developers

    iText is an open-source PDF library available for Java and .NET (C#). iText allows you to effortlessly generate and manipulate standards-compliant PDF documents with a powerful and feature-rich SDK. With iText, you can create archivable and accessible PDFs, split and merge documents, fill and flatten forms, digitally sign documents, and more. iText add-ons enable additional functionality, such as PDF creation from HTML templates, secure redaction, OCR, and much more. The latest versions of iText build on the success of previous versions and feature an improved document engine, high and low-level programming capabilities, and a more efficient modular structure. iText represents the next level for developers looking to leverage PDF in document workflows. The main project page for iText is now on GitHub, and all the latest releases, code samples, open source add-ons and tools, etc. can be found at https://github.com/itext/.
    Downloads: 67 This Week
    Last Update:
    See Project
  • $300 Free Credits for Your Google Cloud Projects Icon
    $300 Free Credits for Your Google Cloud Projects

    Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

    Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
    Start Free Trial
  • 10
    JDatePicker: Java Swing Date Picker

    JDatePicker: Java Swing Date Picker

    This project now lives at: https://github.com/JDatePicker/JDatePicker

    This project now lives at: https://github.com/JDatePicker/JDatePicker Will keep this sf.net project active to point to github. JDatePicker and JDatePanel is an set of advanced DatePicker controls for Java Swing applications. The MVC design enables us to display any date object such as Joda-Time DateMidnight. The date picker also works well with JGoodies Binding.
    Downloads: 12 This Week
    Last Update:
    See Project
  • 11
    Aleph

    Aleph

    Asynchronous streaming communication for Clojure

    Aleph is an asynchronous I/O framework for Clojure built atop Netty, offering efficient, non-blocking network programming with support for HTTP, raw TCP/UDP, and streaming through Manifold streams. Aleph follows the Ring spec fully and can be a drop-in replacement for any existing Ring-compliant server. However, it also allows for the handler function to return a Manifold deferred to represent an eventual response. This feature may not play nicely with synchronous Ring middleware, which modifies the response, but this can be easily fixed by reimplementing the middleware using Manifold's let-flow operator. The aleph.http/wrap-ring-async-handler helper can be used to convert async 3-arity Ring handler to an Aleph-compliant one.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 12
    Android Hidden APIs

    Android Hidden APIs

    A library that provides access to Android hidden APIs

    Android Hidden APIs are classes, methods, and resources that Google hides from you because of stability reasons. These features are hidden because they may be changed on next API version. The internal APIs are located in package com.android.internal and available in the framework.jar, while the hidden APIs are located in the android.jar file with @hide javadoc attribute. Now you know the difference. But I will refer to both as hidden APIs. This repo contains a custom android.jar which you can use to develop your app.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 13
    AndroidAudioRecorder

    AndroidAudioRecorder

    A fancy audio recorder lib for Android. Supports WAV format at 48kHz

    A fancy audio recorder lib for Android. Supports WAV format at 48kHz.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 14
    BIMserver

    BIMserver

    The open source BIMserver platform

    The Building Information Model server (short: BIMserver) enables you to store and manage the information of a construction (or other building related) project. Data is stored in the open data standard IFC. The BIMserver is not a fileserver, but it uses a model-driven architecture approach. This means that IFC data is stored as objects. You could see BIMserver as an IFC database, with special extra features like model checking, versioning, project structures, merging, etc. The main advantage of this approach is the ability to query, merge and filter the BIM model and generate IFC output (i.e. files) on the fly. Thanks to its multi-user support, multiple people can work on their own part of the dataset, while the complete dataset is updated on the fly. Other users can get notifications when the model (or a part of it) is updated.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 15
    ButterKnife

    ButterKnife

    Bind Android views and callbacks to fields and methods

    ButterKnife is an annotation-based view binding library for Android that reduces boilerplate in Activities, Fragments, and custom views. Developers replace repetitive findViewById calls with BindView fields and define UI event handlers using annotations like @OnClick, with the library generating efficient binding code at compile time. Because it relies on annotation processing, there’s no reflection at runtime, keeping startup paths lean and predictable. The generated bind/unbind lifecycle helps avoid memory leaks by clearing references when views are destroyed. Butter Knife made UI code more readable and maintainable for years, especially in large codebases with complex layouts and many event hooks. While newer Android APIs now offer official view binding alternatives, the project remains a landmark example of how code generation can simplify everyday Android development.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 16
    Country Code Picker Library

    Country Code Picker Library

    Search and select country or international phone code

    If you are looking for an Android library for Country Selector or Country Spinner or Country Phone Code selector, this is the perfect place for you. Give a professional touch to your well-designed form like the login screen, sign-up screen, and edit profile screen with CCP. When used as a phone code picker, it helps by removing confusion about how to add the phone number and making the view more understandable. If you prefer experience along with explanations, a demo android app is available that demonstrates all the features of this library.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 17
    Dropwizard

    Dropwizard

    Simple library for building production-ready RESTful web services

    Dropwizard is a Java framework for developing ops-friendly, high-performance, RESTful web services. Dropwizard pulls together stable, mature libraries from the Java ecosystem into a simple, light-weight package that lets you focus on getting things done. Dropwizard has out-of-the-box support for sophisticated configuration, application metrics, logging, operational tools, and much more, allowing you and your team to ship a production-quality web service in the shortest time possible. Dropwizard straddles the line between being a library and a framework. Its goal is to provide performant, reliable implementations of everything a production-ready web application needs. Because this functionality is extracted into a reusable library, your application remains lean and focused, reducing both time-to-market and maintenance burdens.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 18
    Item-NBT-API

    Item-NBT-API

    Add custom NBT tags to Items/Tiles/Entities without NMS

    The NBT API allows you to add custom NBT tags to Itemstacks, TileEntities, and Entities, or modify existing ones. It completely uses reflections to interact with NMS code and works with all the latest versions. On server start the plugin checks all reflections.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 19
    Java and Spring Tutorials

    Java and Spring Tutorials

    Getting Started with Spring Boot 3

    Java and Spring Tutorials is a large-scale educational codebase that provides practical examples and tutorials covering a wide range of software development topics, primarily focused on Java and related ecosystems. It serves as a companion resource for Baeldung articles, offering real-world code implementations that demonstrate concepts such as Spring Boot, persistence frameworks, REST APIs, security, testing, and more. The repository is organized into multiple modules, each targeting specific technologies or frameworks, making it easy for developers to explore topics independently. It emphasizes best practices, clean code structure, and production-ready patterns, allowing learners to not only understand theoretical concepts but also apply them in real applications. The project is continuously updated to reflect modern development trends and evolving technologies, ensuring relevance for both beginners and experienced developers.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 20
    Let

    Let

    Annotation based API flavored with AOP to handle Android models

    Annotation-based simple API flavored with AOP to handle new Android runtime permission model. If you check Google's Samples about the new permission model, you'll see a lot of boilerplate code for requesting, handling, and retrying the request for required permissions. Let will minimize the boilerplate code you have to write for requesting and handling permissions and hence help you keep your code more readable. Let will check these annotated methods and execute them unless the permissions required are granted; otherwise, Let will put on hold the method execution on and request these permissions at runtime. After examining the permission request result, Let will execute the method already put on hold only if the permissions are granted by user.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 21
    Logbook

    Logbook

    An extensible Java library for HTTP request and response logging

    Logbook is an extensible Java library to enable complete request and response logging for different client- and server-side technologies. It satisfies a special need by a) allowing web application developers to log any HTTP traffic that an application receives or sends b) in a way that makes it easy to persist and analyze it later. This can be useful for traditional log analysis, meeting audit requirements or investigating individual historic traffic issues. Logbook is ready to use out of the box for most common setups. Even for uncommon applications and technologies, it should be simple to implement the necessary interfaces to connect a library/framework/etc. to it.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 22
    Louvre

    Louvre

    A small customizable library useful to handle an image gallery

    A small customizable image picker. Useful to handle a gallery image pick action built-in your app.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 23
    Micrometer

    Micrometer

    App observability facade for the most popular observability tools

    Micrometer provides a simple facade over the instrumentation clients for the most popular observability systems, allowing you to instrument your JVM-based application code without vendor lock-in. Think SLF4J, but for observability. Micrometer provides vendor-neutral interfaces for timers, gauges, counters, distribution summaries, and long task timers with a dimensional data model that, when paired with a dimensional monitoring system, allows for efficient access to a particular named metric with the ability to drill down across its dimensions. Out-of-the-box instrumentation of caches, the class loader, garbage collection, processor utilization, thread pools, and more tailored to actionable insight. Micrometer is the instrumentation library powering the delivery of application observability from Spring Boot applications.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 24
    Monero Java Library

    Monero Java Library

    Java library for using Monero

    A Java library for Monero transactions, enabling integration of Monero functions in Java applications.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 25
    Open HTML to PDF

    Open HTML to PDF

    An HTML to PDF library for the JVM

    Open HTML to PDF is a pure-Java library for rendering a reasonable subset of well-formed XML/XHTML (and even some HTML5) using CSS 2.1 (and later standards) for layout and formatting, outputting to PDF or images. Use this library to generated nice looking PDF documents. But be aware that you can not throw modern HTML5+ at this engine and expect a great result. You must special craft the HTML document for this library and use it's extended CSS feature like #31 or #32 to get good results. Avoid floats near page breaks and use table layouts.
    Downloads: 2 This Week
    Last Update:
    See Project