# \#java

**URL:** https://discourse.julialang.org/tag/java/546.md

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

---

## [GC problems with \`jl\_gc\_unsafe\_enter\` with multithreaded embedding](https://discourse.julialang.org/t/gc-problems-with-jl-gc-unsafe-enter-with-multithreaded-embedding/104467)

<div class="topic-metadata">

**Author:** [@Keluaa](https://discourse.julialang.org/u/Keluaa)\
**Replies:** 3\
**Last updated:** [January 30, 2026, 7:39am UTC](https://discourse.julialang.org/t/gc-problems-with-jl-gc-unsafe-enter-with-multithreaded-embedding/104467 "2026-01-30T07:39:26Z")

</div>

I am currently developping a Kotlin library to embed Julia in the JVM, with the goal to support multithreading with jl\_adopt\_thread(). The main issue is that when using some frameworks, there may not be a way to be in co…

---

## [Julia session crashes when calling \`JavaCall.init()\` from a julia session managed by VSCode](https://discourse.julialang.org/t/julia-session-crashes-when-calling-javacall-init-from-a-julia-session-managed-by-vscode/92555)

<div class="topic-metadata">

**Author:** [@tencnivel](https://discourse.julialang.org/u/tencnivel)\
**Replies:** 17\
**Last updated:** [January 26, 2023, 8:15pm UTC](https://discourse.julialang.org/t/julia-session-crashes-when-calling-javacall-init-from-a-julia-session-managed-by-vscode/92555 "2023-01-26T20:15:19Z")

</div>

I cant make JavaCall.init() work from a julia session started by the VSCode plugin. Same as for this post RCall vscode REPL crash, it works fine if I do it from a terminal. I have tried on two different machines, with …

---

## [Openlibm and Java OpenJDK Mathematics floating point repairs](https://discourse.julialang.org/t/openlibm-and-java-openjdk-mathematics-floating-point-repairs/89645)

<div class="topic-metadata">

**Author:** [@SergioMinervini](https://discourse.julialang.org/u/SergioMinervini)\
**Replies:** 0\
**Last updated:** [November 2, 2022, 6:30am UTC](https://discourse.julialang.org/t/openlibm-and-java-openjdk-mathematics-floating-point-repairs/89645 "2022-11-02T06:30:06Z")

</div>

To oscardsmith and other fdlibm developers, openlibm strikes me as being the perfect correction and replacement for fdlibm, which is what java.lang.StrictMath presently uses. Java’s floating point errors involving float…

---

## [Jmathplot via JavaCall.jl](https://discourse.julialang.org/t/jmathplot-via-javacall-jl/69686)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 3\
**Last updated:** [October 13, 2021, 8:37pm UTC](https://discourse.julialang.org/t/jmathplot-via-javacall-jl/69686 "2021-10-13T20:37:57Z")

</div>

Hi, would be glad if someone could give a hand with the example from https://github.com/yannrichet/jmathplot. jmathplot.jar is in https://github.com/yannrichet/jmathplot/tree/master/dist Got lost in the calling synta…

---

## [Embedding Julia in the Java Virtual Machine](https://discourse.julialang.org/t/embedding-julia-in-the-java-virtual-machine/51444)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 11\
**Last updated:** [October 5, 2021, 1:55pm UTC](https://discourse.julialang.org/t/embedding-julia-in-the-java-virtual-machine/51444 "2021-10-05T13:55:06Z")

</div>

Is it easier to embed Julia into the Java Virtual Machine (JVM) or easier to embed the JVM into Julia? Embedding the JVM into Julia I’ve been working with @avik on JavaCall.jl for the better part of this year. To make …

---

## [Running Julia from JAVA? What is crazier?](https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 39\
**Last updated:** [December 29, 2021, 7:35pm UTC](https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662 "2021-12-29T19:35:05Z")

</div>

Hey everyone, I’m exploring UI tools and integrating them with Julia. As part of this exercise I ended up making a nice UI in JAVAFX, now I need to hook it into Julia… So there’s two ways to go about this from what I un…

---

## [PSA: JavaCall.jl is broken on macOS for Julia 1.6.3 and above](https://discourse.julialang.org/t/psa-javacall-jl-is-broken-on-macos-for-julia-1-6-3-and-above/70068)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 0\
**Last updated:** [October 19, 2021, 9:26pm UTC](https://discourse.julialang.org/t/psa-javacall-jl-is-broken-on-macos-for-julia-1-6-3-and-above/70068 "2021-10-19T21:26:58Z")

</div>

Because of some changes to how Julia handles signals as of Julia 1.6.3, JavaCall.jl is broken on macOS for Julia 1.6.3 and above. As far as I know, none of the active contributors have the needed hardware to try to resol…

---

## [Julia Binary Heap Benchmark](https://discourse.julialang.org/t/julia-binary-heap-benchmark/51945)

<div class="topic-metadata">

**Author:** [@ndrsh](https://discourse.julialang.org/u/ndrsh)\
**Replies:** 12\
**Last updated:** [December 17, 2020, 10:25am UTC](https://discourse.julialang.org/t/julia-binary-heap-benchmark/51945 "2020-12-17T10:25:26Z")

</div>

Hey Community. Seems like it might be possible that Julia gets adopted at Codeforces. In order to make that happen I need to provide an implementation for this Binary Heap benchmark. My Julia code is quite ugly, becaus…
