# Running Julia from JAVA? What is crazier?

**URL:** https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662
**Category:** General Usage
**Tags:** java
**Created:** [November 29, 2019, 3:29pm UTC](https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662 "2019-11-29T15:29:50Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![lwhitefox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lwhitefox/32/4363_2.png) [@lwhitefox](https://discourse.julialang.org/u/lwhitefox)
#### Post date: [December 2, 2019, 5:12pm UTC](https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662/15 "2019-12-02T17:12:43Z")

</div>

I cleaned up my test of call Julia from Java JNI, and the sample code is at:  
[https://github.com/lwhitefox/JavaJNI2Julia.git](https://github.com/lwhitefox/JavaJNI2Julia.git)  
It’s mostly cleaned up and should be pretty clear, though probably not optimal in several ways. There are two Java functions, one getting only singular values from a small test matrix, the other generating a Java object that has full SVD results for the same test matrix.

---

_[View the full topic](https://discourse.julialang.org/t/running-julia-from-java-what-is-crazier/31662)._
