{"id":46373711,"url":"https://github.com/parttimenerd/check-language-version","last_synced_at":"2026-03-05T04:35:39.325Z","repository":{"id":334355806,"uuid":"1140623579","full_name":"parttimenerd/check-language-version","owner":"parttimenerd","description":"Check which Java language level files in your project need","archived":false,"fork":false,"pushed_at":"2026-03-04T01:00:23.000Z","size":1205,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-04T05:35:44.769Z","etag":null,"topics":["java"],"latest_commit_sha":null,"homepage":"https://mostlynerdless.de/java-game/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/parttimenerd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2026-01-23T14:38:37.000Z","updated_at":"2026-03-04T01:00:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/parttimenerd/check-language-version","commit_stats":null,"previous_names":["parttimenerd/check-language-version"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parttimenerd/check-language-version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parttimenerd%2Fcheck-language-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parttimenerd%2Fcheck-language-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parttimenerd%2Fcheck-language-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parttimenerd%2Fcheck-language-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parttimenerd","download_url":"https://codeload.github.com/parttimenerd/check-language-version/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parttimenerd%2Fcheck-language-version/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30110441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["java"],"created_at":"2026-03-05T04:35:38.683Z","updated_at":"2026-03-05T04:35:39.307Z","avatar_url":"https://github.com/parttimenerd.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Check-Language-Version\n======================\n\nA tiny program to check which Java language versions\nthe files in a directory are using.\nThis is truely approximate and ignores most used standard library APIs,\nit just focuses on syntax.\n\nThis is also the base for a [game](./game/README.md).\n\nUsage\n-----\n```bash\njava -jar target/check-language-version.jar --help\nUsage: check-language-version [-hjsvV] [\u003cfiles\u003e...] [COMMAND]\nCheck the minimum Java language version required for Java source files\n      [\u003cfiles\u003e...]   Java source files or directories to check\n  -h, --help         Show this help message and exit.\n  -j, --json         Output results in JSON format\n  -s, --summary      Show summary of all files\n  -v, --verbose      Show verbose output\n  -V, --version      Print version information and exit.\nCommands:\n  summary  Show a summary table of Java versions from JSON output files\n```\n\nKnown Limitations\n-----------------\nJavaParser fails to parse some valid Java files.\nIt's all just an approximation.\nThe matching of library features is limited, as we can only\ndo type based checking, as we're not doing any semantic analysis.\n\nAn example is the detection of Loom features like virtual threads,\nas they are used via methods and not via extra classes.\n\nBuilding\n--------\n\n```shell\nmvn package\n```\n\nOr with GraalVM native image support:\n\n```shell\n./build-native-image.sh\n```\n\nTesting\n-------\n\n```shell\nmvn test\n```\n\nTo test also test that the test Java files compile, run:\n\n```shell\nmvn test -Dtest=FeatureDetectionTest -Dtest.compilation=true\n```\n\nTo run the network-dependent link-check test (skipped by default):\n\n```shell\nmvn test -Dtest=FeatureMarkdownLinksTest -DrunLinkChecks=true\n```\n\nVisualization\n-------------\n\n```bash\npython3 visualize.py output.json bla.json --output-dir test_split_bars --open\n```\n\nLicense\n-------\nApache License 2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparttimenerd%2Fcheck-language-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparttimenerd%2Fcheck-language-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparttimenerd%2Fcheck-language-version/lists"}