{"id":20032314,"url":"https://github.com/weakish/minify-jre","last_synced_at":"2026-01-27T18:09:32.914Z","repository":{"id":146349736,"uuid":"98088737","full_name":"weakish/minify-jre","owner":"weakish","description":"Minify JRE distribution.","archived":false,"fork":false,"pushed_at":"2017-07-23T10:23:45.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-29T17:40:55.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/weakish.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":"2017-07-23T09:52:44.000Z","updated_at":"2018-03-02T14:37:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"7293930f-8227-4c03-ab5f-9c61e3eeb98b","html_url":"https://github.com/weakish/minify-jre","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weakish/minify-jre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fminify-jre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fminify-jre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fminify-jre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fminify-jre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weakish","download_url":"https://codeload.github.com/weakish/minify-jre/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weakish%2Fminify-jre/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28817796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T18:01:38.485Z","status":"ssl_error","status_checked_at":"2026-01-27T18:01:27.499Z","response_time":168,"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-11-13T09:36:39.279Z","updated_at":"2026-01-27T18:09:32.889Z","avatar_url":"https://github.com/weakish.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"A Makefile to minify JRE.\n\nThe Makefile produces a minimal headless JRE\n(from `~100M` to `~30M`, `~12M` compressed).\nA lot of non essential classes are removed, including:\n\n- Swing\n- AWT\n- Java2D\n- sound\n- image\n- fonts\n- sql\n- xml\n- applet\n- charsets.jar\n- localedata.jar\n- zi\n- management\n\nTested on openjdk-1.7.\n\n\nUsage\n-----\n\nUnder `openjdk-version-image/jre`:\n\n    make\n\nMakefile is compatible with both Gnu make and BSD make.\n\nYou need to download the openjdk source and compile it yourself.\nCompiling JRE is time-consuming, so you may directly download compiled binaries.\nIf you use the package from your distribution, take care to install the minimal version,\nwithout `rhino.jar` etc. The Makefile is not tuned for distributions, pull-requests are welcome.\n\nCustomization\n-------------\n\nJust edit `Makefile`.\n\nTest\n----\n\nThere is a `mjar.tar.xz` for amd64 Linux at [Releases] page.\nYou can test your programs with it.\n\n[Releases]: https://github.com/weakish/minify-jre/releases\n\nAlternatives\n------------\n\nIf you only need a subset of Java API, try [avian].\nIt is 1.4M compressed.\n\n[avian]: https://readytalk.github.io/avian\n\nFor Java 8, you may use [Compact Profiles][compact].\n\nThis Makefile also works with Java 7, both 64bit and 32bit,\nand does not require you to compile from source.\nThe classes this Makefile picks is similar to `compact1`.\nUnlike `compact1`, all `javax.*` classes are removed.\nSome non compact1 classes does not occupy much space are left.\n\n[compact]: https://blogs.oracle.com/jtc/entry/a_first_look_at_compact \"Oracle Blog\"\n\nReference\n---------\n\n- [Bundling a JRE](https://github.com/libgdx/libgdx/wiki/Bundling-a-JRE)\n- [chandler openjdk Makefile](https://github.com/owenmorris/chandler/blob/077446a53e8b0e1a169b49d0d03ec95acd5ac1f5/external/openjdk/Makefile)\n- [JEP 161: Compact Profiles](http://openjdk.java.net/jeps/161)\n\nLicense\n-------\n\nThe project is licensed 0BSD.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweakish%2Fminify-jre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweakish%2Fminify-jre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweakish%2Fminify-jre/lists"}