{
  "_id": "6a1efc12b401979e73418d2e",
  "Package": "rJavaEnv",
  "Title": "'Java' Environments for R Projects",
  "Version": "0.3.0.9000",
  "Authors@R": "c(\nperson(\"Egor\", \"Kotov\", , \"kotov.egor@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-6690-5345\")),\nperson(\"Chung-hong\", \"Chan\", , \"chainsawtiney@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-6232-7530\")),\nperson(\"Mauricio\", \"Vargas\", , \"mavargas11@uc.cl\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0003-1017-7574\")),\nperson(\"Hadley\", \"Wickham\", , \"hadley@posit.co\", role = \"ctb\",\ncomment = \"use_java feature suggestion and PR review\"),\nperson(\"Enrique\", \"Mondragon-Estrada\", , \"enriquemondragon@proton.me\", role = \"ctb\",\ncomment = c(ORCID = \"0009-0004-5592-1728\")),\nperson(\"Jonas\", \"Lieth\", , \"jonas.lieth@gesis.org\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0002-3451-3176\"))\n)",
  "Description": "Quickly install 'Java Development Kit (JDK)' without\nadministrative privileges and set environment variables in\ncurrent R session or project to solve common issues with 'Java'\nenvironment management in 'R'. Recommended to users of\n'Java'/'rJava'-dependent 'R' packages such as 'r5r',\n'opentripplanner', 'xlsx', 'openNLP', 'rWeka', 'RJDBC',\n'tabulapdf', and many more. 'rJavaEnv' prevents common problems\nlike 'Java' not found, 'Java' version conflicts, missing 'Java'\ninstallations, and the inability to install 'Java' due to lack\nof administrative privileges.  'rJavaEnv' automates the\ndownload, installation, and setup of the 'Java' on a\nper-project basis by setting the relevant 'JAVA_HOME' in the\ncurrent 'R' session or the current working directory (via\n'.Rprofile', with the user's consent). Similar to what 'renv'\ndoes for 'R' packages, 'rJavaEnv' allows different 'Java'\nversions to be used across different projects, but can also be\nconfigured to allow multiple versions within the same project\n(e.g.  with the help of 'targets' package). For users who need\nto install 'rJava' or other 'Java'-dependent packages from\nsource, 'rJavaEnv' will display a message with instructions on\nhow to run 'R CMD javareconf' to make the 'Java' configuration\npermanent, but also provides a function 'java_build_env_set'\nthat sets the environment variables in the current R session\ntemporarily to allow installation of 'rJava' from source\nwithout 'R CMD javareconf'. On 'Linux', in addition to setting\nenvironment variables, 'rJavaEnv' also dynamically loads\n'libjvm.so' to ensure 'rJava' works correctly.  See\ndocumentation for more details.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/e-kotov/rJavaEnv,\nhttps://www.ekotov.pro/rJavaEnv/",
  "BugReports": "https://github.com/e-kotov/rJavaEnv/issues",
  "VignetteBuilder": "quarto",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://e-kotov.r-universe.dev",
  "Date/Publication": "2026-04-30 14:07:25 UTC",
  "RemoteUrl": "https://github.com/e-kotov/rJavaEnv",
  "RemoteRef": "HEAD",
  "RemoteSha": "a694df6e8dce0390fca3379bf8c25412e434d6af",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 10:23:48 UTC",
    "User": "root"
  },
  "Author": "Egor Kotov [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-6690-5345>),\nChung-hong Chan [aut] (ORCID: <https://orcid.org/0000-0002-6232-7530>),\nMauricio Vargas [ctb] (ORCID: <https://orcid.org/0000-0003-1017-7574>),\nHadley Wickham [ctb] (use_java feature suggestion and PR review),\nEnrique Mondragon-Estrada [ctb] (ORCID:\n<https://orcid.org/0009-0004-5592-1728>),\nJonas Lieth [ctb] (ORCID: <https://orcid.org/0000-0002-3451-3176>)",
  "Maintainer": "Egor Kotov <kotov.egor@gmail.com>",
  "MD5sum": "db2d1a471cb00b55a3302f99ba24274f",
  "_user": "e-kotov",
  "_type": "src",
  "_file": "rJavaEnv_0.3.0.9000.tar.gz",
  "_fileid": "c56fabd3b9a5d5ba03744a04d018fe5fb59aad618d36c6c2dbb1fba8ad0eaffc",
  "_filesize": 398120,
  "_sha256": "c56fabd3b9a5d5ba03744a04d018fe5fb59aad618d36c6c2dbb1fba8ad0eaffc",
  "_created": "2026-05-18T10:23:48.000Z",
  "_published": "2026-06-02T15:51:46.794Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79113103670,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055321736"
    },
    {
      "job": 79113103404,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055322886"
    },
    {
      "job": 79113104308,
      "time": 202,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7055340510"
    },
    {
      "job": 79113103953,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055315349"
    },
    {
      "job": 79113102647,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055273818"
    },
    {
      "job": 79113102844,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7362859773"
    },
    {
      "job": 79113103617,
      "time": 209,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055344003"
    },
    {
      "job": 79113103855,
      "time": 149,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7055323981"
    },
    {
      "job": 79113103573,
      "time": 161,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055327928"
    }
  ],
  "_buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/e-kotov/rJavaEnv",
  "_commit": {
    "id": "a694df6e8dce0390fca3379bf8c25412e434d6af",
    "author": "Egor Kotov <kotov.egor@gmail.com>",
    "committer": "Egor Kotov <kotov.egor@gmail.com>",
    "message": "fix: enable pkgcheck badge in README and README.qmd\n",
    "time": 1777558045
  },
  "_maintainer": {
    "name": "Egor Kotov",
    "email": "kotov.egor@gmail.com",
    "login": "e-kotov",
    "mastodon": "@EgorKotov@datasci.social",
    "bluesky": "@ekotov.pro",
    "linkedin": "in/egorkotov",
    "orcid": "0000-0001-6690-5345",
    "twitter": "@EgorKotov",
    "description": "Spatial Data Scientist, Doctoral Reseacher at @MPIDR and UPF",
    "uuid": 8681379
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "RcppSimdJson",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "callr",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "rJava",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "e-kotov",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 4
    },
    {
      "week": "2025-39",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 14
    },
    {
      "week": "2025-45",
      "n": 3
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 4
    },
    {
      "week": "2026-01",
      "n": 3
    },
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 5
    }
  ],
  "_tags": [],
  "_topics": [
    "environments",
    "java",
    "reproducibility",
    "reproducible-research",
    "quarto"
  ],
  "_stars": 24,
  "_contributors": [
    {
      "user": "e-kotov",
      "count": 399,
      "uuid": 8681379
    },
    {
      "user": "enriquemondragon",
      "count": 6,
      "uuid": 101150878
    },
    {
      "user": "chainsawriot",
      "count": 5,
      "uuid": 637269
    },
    {
      "user": "jslth",
      "count": 2,
      "uuid": 83467140
    },
    {
      "user": "pachadotdev",
      "count": 1,
      "uuid": 10091065
    }
  ],
  "_userbio": {
    "uuid": 8681379,
    "type": "user",
    "name": "Egor Kotov",
    "description": "Spatial Data Scientist, Doctoral Reseacher at @MPIDR and UPF"
  },
  "_downloads": {
    "count": 1087,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rJavaEnv"
  },
  "_devurl": "https://github.com/e-kotov/rjavaenv",
  "_pkgdown": "https://www.ekotov.pro/rJavaEnv/",
  "_searchresults": 26,
  "_quarto": true,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rJavaEnv.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/e-kotov/rjavaenv",
  "_realowner": "e-kotov",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2024-08-26"
    },
    {
      "version": "0.2.1",
      "date": "2024-09-03"
    },
    {
      "version": "0.2.2",
      "date": "2024-09-13"
    },
    {
      "version": "0.3.0",
      "date": "2025-04-04"
    }
  ],
  "_exports": [
    "java_build_env_set",
    "java_build_env_unset",
    "java_check_compatibility",
    "java_check_version_cmd",
    "java_check_version_rjava",
    "java_clear",
    "java_clear_distrib",
    "java_clear_installed",
    "java_clear_project",
    "java_download",
    "java_ensure",
    "java_env_set",
    "java_env_unset",
    "java_find_system",
    "java_get_home",
    "java_install",
    "java_list",
    "java_list_available",
    "java_list_distrib",
    "java_list_installed",
    "java_list_project",
    "java_quick_install",
    "java_resolve",
    "java_unpack",
    "java_valid_versions",
    "local_java_env",
    "rje_consent",
    "use_java",
    "with_java_env",
    "with_rjava_env"
  ],
  "_help": [
    {
      "page": "java_build_env_set",
      "title": "Set up the environment for building R packages with Java dependencies from source",
      "topics": [
        "java_build_env_set"
      ]
    },
    {
      "page": "java_build_env_unset",
      "title": "Unset the Java build environment variables in the project .Rprofile",
      "topics": [
        "java_build_env_unset"
      ]
    },
    {
      "page": "java_check_compatibility",
      "title": "Verify rJava Compatibility (Guard)",
      "topics": [
        "java_check_compatibility"
      ]
    },
    {
      "page": "java_check_version_cmd",
      "title": "Check installed Java version using terminal commands",
      "topics": [
        "java_check_version_cmd"
      ]
    },
    {
      "page": "java_check_version_rjava",
      "title": "Check Java Version with a Specified JAVA_HOME Using a Separate R Session",
      "topics": [
        "java_check_version_rjava"
      ]
    },
    {
      "page": "java_clear",
      "title": "Manage Java installations and distributions caches",
      "topics": [
        "java_clear"
      ]
    },
    {
      "page": "java_clear_distrib",
      "title": "Clear the Java distributions cache folder",
      "topics": [
        "java_clear_distrib"
      ]
    },
    {
      "page": "java_clear_installed",
      "title": "Clear the Java installations cache folder",
      "topics": [
        "java_clear_installed"
      ]
    },
    {
      "page": "java_clear_project",
      "title": "Clear the Java versions symlinked in the current project",
      "topics": [
        "java_clear_project"
      ]
    },
    {
      "page": "java_download",
      "title": "Download a Java distribution",
      "topics": [
        "java_download"
      ]
    },
    {
      "page": "java_ensure",
      "title": "Ensure specific Java version is set",
      "topics": [
        "java_ensure"
      ]
    },
    {
      "page": "java_env_set",
      "title": "Set the 'JAVA_HOME' and 'PATH' environment variables to a given path",
      "topics": [
        "java_env_set"
      ]
    },
    {
      "page": "java_env_unset",
      "title": "Unset the JAVA_HOME and PATH environment variables in the project .Rprofile",
      "topics": [
        "java_env_unset"
      ]
    },
    {
      "page": "java_find_system",
      "title": "Discover system-wide Java installations",
      "topics": [
        "java_find_system"
      ]
    },
    {
      "page": "java_get_home",
      "title": "Get JAVA_HOME",
      "topics": [
        "java_get_home"
      ]
    },
    {
      "page": "java_install",
      "title": "Install Java from a distribution file",
      "topics": [
        "java_install"
      ]
    },
    {
      "page": "java_list",
      "title": "List the contents of the Java versions installed or cached",
      "topics": [
        "java_list"
      ]
    },
    {
      "page": "java_list_available",
      "title": "List Available Java Versions",
      "topics": [
        "java_list_available"
      ]
    },
    {
      "page": "java_list_distrib",
      "title": "List the contents of the Java distributions cache folder",
      "topics": [
        "java_list_distrib"
      ]
    },
    {
      "page": "java_list_installed",
      "title": "List the contents of the Java installations cache folder",
      "topics": [
        "java_list_installed"
      ]
    },
    {
      "page": "java_list_project",
      "title": "List the Java versions symlinked in the current project",
      "topics": [
        "java_list_project"
      ]
    },
    {
      "page": "java_quick_install",
      "title": "Download and install and set Java in current working/project directory",
      "topics": [
        "java_quick_install"
      ]
    },
    {
      "page": "java_resolve",
      "title": "Resolve path to specific Java version",
      "topics": [
        "java_resolve"
      ]
    },
    {
      "page": "java_unpack",
      "title": "Unpack a Java distribution file into cache directory",
      "topics": [
        "java_unpack"
      ]
    },
    {
      "page": "java_valid_versions",
      "title": "Retrieve Valid Java Versions",
      "topics": [
        "java_valid_versions"
      ]
    },
    {
      "page": "local_java_env",
      "title": "Set Java environment for the current scope",
      "topics": [
        "local_java_env"
      ]
    },
    {
      "page": "rje_consent",
      "title": "Obtain User Consent for rJavaEnv",
      "topics": [
        "rje_consent"
      ]
    },
    {
      "page": "use_java",
      "title": "Install specified Java version and set the 'JAVA_HOME' and 'PATH' environment variables in current R session",
      "topics": [
        "use_java"
      ]
    },
    {
      "page": "with_java_env",
      "title": "Execute code with a specific Java environment",
      "topics": [
        "with_java_env"
      ]
    },
    {
      "page": "with_rjava_env",
      "title": "Execute rJava code in a separate process with specific Java version",
      "topics": [
        "with_rjava_env"
      ]
    }
  ],
  "_pkglogo": "https://github.com/e-kotov/rJavaEnv/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/e-kotov/rJavaEnv/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "cachem",
    "checkmate",
    "cli",
    "curl",
    "digest",
    "fastmap",
    "memoise",
    "Rcpp",
    "RcppSimdJson",
    "rlang",
    "withr",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "install-rjava-from-source.qmd",
      "filename": "install-rjava-from-source.html",
      "title": "Install rJava from source",
      "engine": "quarto::html",
      "headings": [],
      "created": "2025-09-07 20:26:44",
      "modified": "2025-12-30 20:54:27",
      "commits": 2
    },
    {
      "source": "multiple-java-with-targets-callr.qmd",
      "filename": "multiple-java-with-targets-callr.html",
      "title": "Multiple Java environments in one project with targets and callr",
      "engine": "quarto::html",
      "headings": [],
      "created": "2024-08-28 13:29:34",
      "modified": "2025-09-07 20:26:44",
      "commits": 5
    },
    {
      "source": "rJavaEnv.qmd",
      "filename": "rJavaEnv.html",
      "title": "Quick Start Guide: Java Setup for 'R' Projects",
      "engine": "quarto::html",
      "headings": [],
      "created": "2024-08-20 14:22:56",
      "modified": "2026-01-13 11:50:50",
      "commits": 7
    },
    {
      "source": "rJavaEnv-step-by-step.qmd",
      "filename": "rJavaEnv-step-by-step.html",
      "title": "Step-by-step: Download, Install, and Setup Java for 'R' Projects",
      "engine": "quarto::html",
      "headings": [],
      "created": "2024-08-20 14:22:56",
      "modified": "2026-01-13 11:50:50",
      "commits": 6
    },
    {
      "source": "for-developers.qmd",
      "filename": "for-developers.html",
      "title": "Using rJavaEnv in R Packages",
      "engine": "quarto::html",
      "headings": [],
      "created": "2025-12-30 20:54:27",
      "modified": "2025-12-30 20:54:27",
      "commits": 1
    }
  ],
  "_score": 8.007505392824399,
  "_indexed": true,
  "_nocasepkg": "rjavaenv",
  "_universes": [
    "e-kotov"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0.9000",
      "date": "2026-05-18T10:26:01.000Z",
      "distro": "noble",
      "commit": "a694df6e8dce0390fca3379bf8c25412e434d6af",
      "fileid": "215e524cc96daedf676a04d5eedaade3e78920604a48baa6e30d548b0b2c1458",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0.9000",
      "date": "2026-05-18T10:26:01.000Z",
      "distro": "noble",
      "commit": "a694df6e8dce0390fca3379bf8c25412e434d6af",
      "fileid": "7ae86a271a7ecfd99393548f0d0e2b3ab34e1393ab312957e4a62ef31cda75ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0.9000",
      "date": "2026-05-18T10:26:48.000Z",
      "commit": "a694df6e8dce0390fca3379bf8c25412e434d6af",
      "fileid": "c0b79246378023107de8636589d56d2e5faa2bcf9e1cc3d8cf532560c2b3d458",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0.9000",
      "date": "2026-05-18T10:25:49.000Z",
      "commit": "a694df6e8dce0390fca3379bf8c25412e434d6af",
      "fileid": "9757e7ca07910b5bf6271fbc329dd729398f537b622673cf0d539e1fa9488dea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-05-18T10:26:19.000Z",
      "commit": "a694df6e8dce0390fca3379bf8c25412e434d6af",
      "fileid": "36961291e8cc7bd6c1567268b86a29e75d16a96d6ea0dab4cb18bf1c3864e99a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-05-18T10:25:37.000Z",
      "commit": "a694df6e8dce0390fca3379bf8c25412e434d6af",
      "fileid": "a8cb3c0a2fb916610e9b98cb2d901695cace96cb240400be9a7d5d71da9e3aac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-05-18T10:25:42.000Z",
      "commit": "a694df6e8dce0390fca3379bf8c25412e434d6af",
      "fileid": "d0539f72c610faf3e7d33467795cb78f8241c0170cb0f5180f86b5bdbd7453c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0.9000",
      "date": "2026-06-02T15:51:26.000Z",
      "commit": "a694df6e8dce0390fca3379bf8c25412e434d6af",
      "fileid": "42147ab0d4873feac8d6b58eab458fa69f47d554e4265d005ecaada8b17916fd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/e-kotov/actions/runs/26027579399"
    }
  ]
}