# \#java

**URL:** https://discuss.ocaml.org/tag/java/167.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [How to write an OCaml program that generates a java program based on a java API?](https://discuss.ocaml.org/t/how-to-write-an-ocaml-program-that-generates-a-java-program-based-on-a-java-api/17753)

<div class="topic-metadata">

**Author:** [@Luc\_ML](https://discuss.ocaml.org/u/Luc_ML)\
**Replies:** 14\
**Last updated:** [February 3, 2026, 10:12pm UTC](https://discuss.ocaml.org/t/how-to-write-an-ocaml-program-that-generates-a-java-program-based-on-a-java-api/17753 "2026-02-03T22:12:52Z")

</div>

An OCaml program is supposed to talk with some java-based software. This software provides a java API that allows to create a plugin to it. I don’t want to write in java this plugin for all reasons you can imagine. I’…

---

## [Coordinating (Java) systhreads / domains](https://discuss.ocaml.org/t/coordinating-java-systhreads-domains/16470)

<div class="topic-metadata">

**Author:** [@cemerick](https://discuss.ocaml.org/u/cemerick)\
**Replies:** 11\
**Last updated:** [May 31, 2025, 1:59pm UTC](https://discuss.ocaml.org/t/coordinating-java-systhreads-domains/16470 "2025-05-31T13:59:33Z")

</div>

I have integrated an OCaml shared library into a Java project, and have hit some rough waters with coordinating Java threads with OCaml’s domains. To set the stage, the Java runtime is the primary executable here, and i…

---

## [OCaml-Java compiler](https://discuss.ocaml.org/t/ocaml-java-compiler/1450)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discuss.ocaml.org/u/ShalokShalom)\
**Replies:** 3\
**Last updated:** [January 22, 2018, 11:15am UTC](https://discuss.ocaml.org/t/ocaml-java-compiler/1450 "2018-01-22T11:15:55Z")

</div>

Hi there :slight\_smile: This dude gave a talk about OCaml-Java, while the Github repo and the webpage - both maintained by him - are outdated since years. What is this about? I already send him an Email on the address…
