{"id":20847396,"url":"https://github.com/commonwealthrobotics/mujoco-java","last_synced_at":"2026-03-07T02:32:50.088Z","repository":{"id":72181975,"uuid":"496647997","full_name":"CommonWealthRobotics/mujoco-java","owner":"CommonWealthRobotics","description":"Java JNI binding for mujoco physics system","archived":false,"fork":false,"pushed_at":"2024-06-10T18:00:21.000Z","size":21308,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-06-10T20:50:12.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CommonWealthRobotics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-05-26T14:16:14.000Z","updated_at":"2024-06-10T18:00:25.000Z","dependencies_parsed_at":"2024-01-16T20:11:19.471Z","dependency_job_id":"3664f416-e4f3-4939-a390-7c3bee4bd744","html_url":"https://github.com/CommonWealthRobotics/mujoco-java","commit_stats":null,"previous_names":[],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommonWealthRobotics%2Fmujoco-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommonWealthRobotics%2Fmujoco-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommonWealthRobotics%2Fmujoco-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CommonWealthRobotics%2Fmujoco-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CommonWealthRobotics","download_url":"https://codeload.github.com/CommonWealthRobotics/mujoco-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225115857,"owners_count":17423155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-18T02:20:02.550Z","updated_at":"2026-03-07T02:32:50.052Z","avatar_url":"https://github.com/CommonWealthRobotics.png","language":"Java","readme":"# mujoco-java\n\nJava JNI binding for [mujoco physics system](https://github.com/google-deepmind/mujoco)\n\n# Platforms\n\nThis library supports\n\n* Windows x86_64\n* Linux x86_64\n* MacOS x86_64\n* MacOS arm64 (M1, M2, M3)\n\n# Examples\n\nAn example of loading a MuJoCo model and display in JavaFX 3d:\n\nhttps://github.com/madhephaestus/MuJoCoTest/releases \n\nExamples are designed to run in [Bowler Studio](http://commonwealthrobotics.com)\n\n# Maven\n\nMuJoCo-Java is published on Maven Central via Sonatype. \n\nHosting is in:\n\n```\nhttps://oss.sonatype.org/content/repositories/staging/com/neuronrobotics/mujoco-java/\n```\n\n![](https://img.shields.io/nexus/r/https/oss.sonatype.org/com.neuronrobotics/mujoco-java.svg?style=flat)\n\n\n\nMaven:\n\n```\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.neuronrobotics\u003c/groupId\u003e\n  \u003cartifactId\u003emujoco-java\u003c/artifactId\u003e\n  \u003cversion\u003e3.1.1-pre.1\u003c/version\u003e\n  \u003ctype\u003emodule\u003c/type\u003e\n\u003c/dependency\u003e\n```\nGradle\n\n```\nrepositories {\n\tmaven { url 'https://oss.sonatype.org/content/repositories/staging/' }\n}\n\ndependencies {\n\timplementation group: 'com.neuronrobotics', name: 'mujoco-java', version: '3.1.1-pre.1'\n}\n```\n\n# Windows System Dep\n\ninstalling VC++ redist from:\n\n``` \nhttps://www.microsoft.com/en-gb/download/details.aspx?id=48145\n```\n\n# Build\n\nWindows `bash buiild-windows.sh`\n\nLinux `bash build-linux.sh`\n\nMac x86 `bash build-mac.sh`\n\nMac arm64 `bash build-mac-m1.sh`\n\n\n\n# HOWTO set up Publish\n\n1. Export your gpg private key from the system that you have created it.\n    1. Find your key-id (using `gpg --list-secret-keys --keyid-format=long`)\n    2. Put the GPG id into a variable `OSSRH_GPG_SECRET_KEY_ID` \n    3. Export the gpg secret key to an ASCII file using `gpg --export-secret-keys -a \u003ckey-id\u003e \u003e secret.txt`\n    4. Edit `secret.txt` using a plain text editor, and replace all newlines with a literal \"\\n\" until everything is on a single line\n2. Set up [GitHub Actions secrets](https://github.com/organizations/CommonWealthRobotics/settings/secrets/actions)\n    1. Create a secret called `OSSRH_GPG_SECRET_KEY` using the text from your edited `secret.txt` file (the whole text should be in a single line)\n    2. Create a secret called `OSSRH_GPG_SECRET_KEY_PASSWORD` containing the password for your gpg secret key\n3. Add Maven Credentials\n   1. In ~/gradle.properties, osshUsername `MAVEN_USERNAME`\n   2. In ~/gradle.properties, osshPassword `MAVEN_PASSWORD`\n\t\n5. Create a GitHub Actions step to install the gpg secret key\n    1. Add an action similar to:\n        ```yaml\n        - id: install-secret-key\n          name: Install gpg secret key\n          run: |\n            cat \u003c(echo -e \"${{ secrets.OSSRH_GPG_SECRET_KEY }}\") | gpg --batch --import\n            gpg --list-secret-keys --keyid-format LONG\n        ```\n    2. Verify that the secret key is shown in the GitHub Actions logs\n    3. You can remove the output from list secret keys if you are confident that this action will work, but it is better to leave it in there\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommonwealthrobotics%2Fmujoco-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommonwealthrobotics%2Fmujoco-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommonwealthrobotics%2Fmujoco-java/lists"}