{"id":16473142,"url":"https://github.com/binki/binki-fool-java-os-version","last_synced_at":"2026-04-16T17:02:22.276Z","repository":{"id":143134172,"uuid":"445400102","full_name":"binki/binki-fool-java-os-version","owner":"binki","description":"Fool Java’s os.version by editing the value of release field in uname(2)","archived":false,"fork":false,"pushed_at":"2022-01-07T04:48:48.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T12:43:05.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binki.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}},"created_at":"2022-01-07T04:44:03.000Z","updated_at":"2022-01-07T04:48:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"24cf2435-4144-4f13-ab91-872702a79b30","html_url":"https://github.com/binki/binki-fool-java-os-version","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binki/binki-fool-java-os-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2Fbinki-fool-java-os-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2Fbinki-fool-java-os-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2Fbinki-fool-java-os-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2Fbinki-fool-java-os-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binki","download_url":"https://codeload.github.com/binki/binki-fool-java-os-version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2Fbinki-fool-java-os-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31895650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-11T12:25:30.204Z","updated_at":"2026-04-16T17:02:22.261Z","avatar_url":"https://github.com/binki.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fake `os.version` for Java\n\nStrips `-` (dash) and any following text from `uname(2)`’s release field (i.e., from what shows up when you run `uname -r`).\n\nIt has been a while since I played with `LD_PRELOAD`, so I thought I would try it to see if this could be used as a workaround for [a misbehaving java package](https://unix.stackexchange.com/questions/685313).\n\n## Output\n\n```\nbinki@sam ~/repos/binki-fool-java-os-version/example $ javac PrintOsVersion.java\nbinki@sam ~/repos/binki-fool-java-os-version/example $ java PrintOsVersion\n3.7.10-gentoobinkisamxen20130418\nbinki@sam ~/repos/binki-fool-java-os-version/example $ ../src/invoke-java.sh PrintOsVersion \n3.7.10\n```\n\n## Compiling\n\nIn `src`, run `make`. Ensure you have the appropriate build tools installed first.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinki%2Fbinki-fool-java-os-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinki%2Fbinki-fool-java-os-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinki%2Fbinki-fool-java-os-version/lists"}