---
title: "Calling Gemma with Ollama, TestContainers, and LangChain4j"
url: https://daily.dev/posts/calling-gemma-with-ollama-testcontainers-and-langchain4j-rkpbznczg
source_url: https://foojay.io/today/calling-gemma-with-ollama-testcontainers-and-langchain4j/
type: article
source: "Foojay.io"
published: 2024-04-12T13:58:29.038Z
updated: 2024-05-24T02:14:29.263Z
tags: ["genai", "java", "ollama"]
reading_time: 5
upvotes: 2
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Calling Gemma with Ollama, TestContainers, and LangChain4j

**[Foojay.io](https://daily.dev/sources/foojayio)** · 5 min read · 2 upvotes · 0 comments

## Summary

Learn how to call Gemma locally on your laptop in your Java apps using LangChain4j without installing and running Ollama, with the help of TestContainers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://foojay.io/today/calling-gemma-with-ollama-testcontainers-and-langchain4j/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#genai](https://daily.dev/tags/genai), [#java](https://daily.dev/tags/java), [#ollama](https://daily.dev/tags/ollama)

[View this post on daily.dev](https://daily.dev/posts/calling-gemma-with-ollama-testcontainers-and-langchain4j-rkpbznczg)
