{"id":47444113,"url":"https://github.com/JuliaInterop/JavaCall.jl","last_synced_at":"2026-04-06T13:00:59.078Z","repository":{"id":12065511,"uuid":"14652308","full_name":"JuliaInterop/JavaCall.jl","owner":"JuliaInterop","description":"Call Java from Julia","archived":false,"fork":false,"pushed_at":"2025-12-01T02:58:51.000Z","size":578,"stargazers_count":124,"open_issues_count":24,"forks_count":51,"subscribers_count":14,"default_branch":"master","last_synced_at":"2026-03-28T07:54:41.509Z","etag":null,"topics":["java","julia","julialang"],"latest_commit_sha":null,"homepage":"http://juliainterop.github.io/JavaCall.jl","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuliaInterop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"custom":"https://numfocus.salsalabs.org/donate-to-julia/index.html"}},"created_at":"2013-11-23T23:18:10.000Z","updated_at":"2025-12-01T02:58:53.000Z","dependencies_parsed_at":"2023-11-22T16:03:01.492Z","dependency_job_id":"7bc409e6-21c7-4f5f-b999-8b048fd5cdf8","html_url":"https://github.com/JuliaInterop/JavaCall.jl","commit_stats":{"total_commits":335,"total_committers":41,"mean_commits":8.170731707317072,"dds":0.6029850746268657,"last_synced_commit":"63026e4cc6530c65b791519f34812e84ec843b14"},"previous_names":["aviks/javacall.jl"],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/JuliaInterop/JavaCall.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FJavaCall.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FJavaCall.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FJavaCall.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FJavaCall.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaInterop","download_url":"https://codeload.github.com/JuliaInterop/JavaCall.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaInterop%2FJavaCall.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31473271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","julia","julialang"],"created_at":"2026-03-23T06:00:59.902Z","updated_at":"2026-04-06T13:00:59.042Z","avatar_url":"https://github.com/JuliaInterop.png","language":"Julia","readme":"# JavaCall.jl\n\n![master GHA CI](https://github.com/JuliaInterop/JavaCall.jl/actions/workflows/CI.yml/badge.svg)\n\nCall Java programs from [Julia](https://julialang.org).\n\n## Documentation\n\nDocumentation is available at http://juliainterop.github.io/JavaCall.jl\n\n## Quick Start Example Usage\n\n```julia\n$ JULIA_NUM_THREADS=1 JULIA_COPY_STACKS=1 julia\n\njulia\u003e using Pkg; Pkg.activate(; temp = true)\n  Activating new project at `/tmp/jl_e6uPja`\n\njulia\u003e using JavaCall\n │ Package JavaCall not found, but a package named JavaCall is available from a\n │ registry. \n │ Install package?\n │   (jl_e6uPja) pkg\u003e add JavaCall \n └ (y/n) [y]: y\n\n...\n\njulia\u003e JavaCall.addClassPath(pwd()) # Set appropriate classpath\n\njulia\u003e JavaCall.addOpts(\"-Xmx1024M\") # Use 1 GB of memory\nOrderedCollections.OrderedSet{String} with 1 element:\n  \"-Xmx1024M\"\n\njulia\u003e JavaCall.addOpts(\"-Xrs\") # Disable signal handling in the JVM, reducing performance but enhancing compatability\nOrderedCollections.OrderedSet{String} with 2 elements:\n  \"-Xmx1024M\"\n  \"-Xrs\"\n\njulia\u003e JavaCall.init() # Call before using `jcall` or `jfield`. Do not use this in package `__init__()` to allow other packages to add classpaths or options.\n\njulia\u003e jls = @jimport java.lang.System\nJavaObject{Symbol(\"java.lang.System\")}\n\njulia\u003e out = jfield(jls, \"out\", @jimport java.io.PrintStream) # Third arg is optional, but helps type stability.\nJavaObject{Symbol(\"java.io.PrintStream\")}(JavaCall.JavaLocalRef(Ptr{Nothing} @0x0000000003ecda38))\n\njulia\u003e jcall(out, \"println\", Nothing, (JString,), \"Hello World\")\nHello World\n```\n\n## Julia version compatibility\n\nThe CI tests for Julia 1.6 as `min`, Julia LTS, and the latest stable release.\n\n## macOS and Linux\n\nFor Julia 1.3 onwards, please set the environment variable `JULIA_COPY_STACKS = 1`.\nFor Julia 1.11 onwards, please also set `JULIA_NUM_THREADS = 1`\n\nMultithreaded access to the JVM is supported as JavaCall version `0.8.0`, but doesn't work in recent Julia versions.\n\n## Windows\n\nDo not set the environmental variable `JULIA_COPY_STACKS` or set the variable to `0`.\n\nTo use `jcall` with `@async`, start Julia in the following way:\n\n```\n$ julia -i -e \"using JavaCall; JavaCall.init()\"\n```\n\nWindows currently lacks support for multithreaded access to the JVM.\n\n## Other Operating Systems\n\nJavaCall has not been tested on operating systems other than macOS, Windows, or Linux.\nYou should probably set the environment variable `JULIA_COPY_STACKS = 1` and `JULIA_NUM_THREADS = 1`.\nIf you have success using JavaCall on another operating system than listed above,\nplease create an issue or pull request to let us know about compatability.\n","funding_links":["https://numfocus.salsalabs.org/donate-to-julia/index.html"],"categories":["Binary Analysis and Reverse Engineering"],"sub_categories":["Foreign Function Interfaces"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJuliaInterop%2FJavaCall.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJuliaInterop%2FJavaCall.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJuliaInterop%2FJavaCall.jl/lists"}