{"id":18291051,"url":"https://github.com/hakdogan/java9-module-system-non-maven","last_synced_at":"2025-04-09T07:44:40.624Z","repository":{"id":145613101,"uuid":"97603857","full_name":"hakdogan/Java9-module-system-non-maven","owner":"hakdogan","description":"Example of Java 9 module system non-maven","archived":false,"fork":false,"pushed_at":"2017-08-31T13:23:30.000Z","size":5236,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-15T01:45:59.469Z","etag":null,"topics":["java9","module-system"],"latest_commit_sha":null,"homepage":"","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/hakdogan.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2017-07-18T13:50:35.000Z","updated_at":"2017-08-25T09:03:03.000Z","dependencies_parsed_at":"2023-05-19T04:00:23.368Z","dependency_job_id":null,"html_url":"https://github.com/hakdogan/Java9-module-system-non-maven","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakdogan%2FJava9-module-system-non-maven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakdogan%2FJava9-module-system-non-maven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakdogan%2FJava9-module-system-non-maven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakdogan%2FJava9-module-system-non-maven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hakdogan","download_url":"https://codeload.github.com/hakdogan/Java9-module-system-non-maven/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999353,"owners_count":21030956,"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":["java9","module-system"],"created_at":"2024-11-05T14:13:03.192Z","updated_at":"2025-04-09T07:44:40.585Z","avatar_url":"https://github.com/hakdogan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Example of Java 9 module system non-maven\n\nimage:https://travis-ci.org/hakdogan/Java9-module-system-non-maven.svg?branch=master[\"Build Status\", link=\"https://travis-ci.org/hakdogan/Java9-module-system-non-maven\"]\n\nThis application simply exemplifies working Module System on Java 9 and it uses some libraries such as ``h2 database`` and ``log4j`` as an example of adding the external library.\n\n== How do I compile?\n\nYou should use the ``javac`` command with the following parameters in the root directory of the project to compile the classes.\n\n[source,]\n----\njavac --module-path mods:lib \\\n-d mods --module-source-path src \\\nsrc/Database/module-info.java \\\nsrc/Database/src/com/kodcu/db/ConnDB.java \\\nsrc/hakdogan/module-info.java \\\nsrc/hakdogan/src/com/kodcu/InfoUser.java \\\nsrc/User/module-info.java \\\nsrc/User/src/com/kodcu/user/User.java\n----\n\nWith ``find``, this command can be written shorter.\n\n[source,]\n----\njavac --module-path mods:lib \\\n-d mods --module-source-path \\\nsrc $(find . -name \"*.java\")\n----\n\n== How do I run?\n\nYou should use the ``java`` command with the following parameters in the root directory of the project to run this code.\n[source,]\n----\njava -Dfile.encoding=UTF-8 \\\n-Dlog4j.configurationFile=src/hakdogan/src/log4j2.properties \\\n-classpath mods/hakdogan\\\n:mods/Database\\\n:mods/User\\\n:lib/h2-1.4.196.jar\\\n:lib/log4j-core-2.8.2.jar\\\n:lib/log4j-api-2.8.2.jar \\\ncom.kodcu.InfoUser\n----\n\nimage::images/readme.gif[]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakdogan%2Fjava9-module-system-non-maven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhakdogan%2Fjava9-module-system-non-maven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakdogan%2Fjava9-module-system-non-maven/lists"}