{"id":19617718,"url":"https://github.com/macagua/example.java.helloworld","last_synced_at":"2025-04-07T05:12:38.492Z","repository":{"id":37561964,"uuid":"37596300","full_name":"macagua/example.java.helloworld","owner":"macagua","description":"\"Hello World\" Example for Java","archived":false,"fork":false,"pushed_at":"2024-06-30T07:57:00.000Z","size":10,"stargazers_count":32,"open_issues_count":2,"forks_count":279,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-30T21:11:59.129Z","etag":null,"topics":["hello-world","helloworld","java"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macagua.png","metadata":{"files":{"readme":"README.rst","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":"2015-06-17T13:23:36.000Z","updated_at":"2025-03-04T12:00:17.000Z","dependencies_parsed_at":"2024-12-11T01:15:39.713Z","dependency_job_id":null,"html_url":"https://github.com/macagua/example.java.helloworld","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/macagua%2Fexample.java.helloworld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample.java.helloworld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample.java.helloworld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample.java.helloworld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macagua","download_url":"https://codeload.github.com/macagua/example.java.helloworld/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595335,"owners_count":20963943,"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":["hello-world","helloworld","java"],"created_at":"2024-11-11T11:06:48.090Z","updated_at":"2025-04-07T05:12:38.469Z","avatar_url":"https://github.com/macagua.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"example.java.helloworld\n=======================\n\nThis is \"Hello World\" Example for Java.\n\nThe structure ``HelloWorld`` package is like this: ::\n\n  example.java.helloworld/\n  |-- HelloWorld\n  |   `-- Main.java\n  |-- LICENSE\n  |-- Manifest.txt\n  `-- README.md\n\nCompile class\n-------------\n\nFor compile the main class for package, execute the follow command: ::\n\n  javac HelloWorld/Main.java\n\nThis generate the ``Main.class`` file into ``HelloWorld`` directory.\n\nRun class\n---------\n\nFor run the main class for package, execute the follow command: ::\n\n  java -cp . HelloWorld.Main\n\nThis show the ``Hello world`` message.\n\nCreate a JAR file\n-----------------\n\nFor pack the main class for package as a JAR file, execute the follow command: ::\n\n  jar cfme Main.jar Manifest.txt HelloWorld.Main HelloWorld/Main.class\n\n\nRun a JAR file\n--------------\n\nFor run the JAR file packed, execute the follow command: ::\n\n  java -jar Main.jar\n\nThis show the ``Hello world`` message.\n\nReference\n=========\n\n- `java - How to run a JAR file - Stack Overflow \u003chttp://stackoverflow.com/questions/1238145/how-to-run-a-jar-file\u003e`_.\n\n- `Setting an Application's Entry Point (The Java™ Tutorials \u003e Deployment \u003e Packaging Programs in JAR Files) \u003chttp://docs.oracle.com/javase/tutorial/deployment/jar/appman.html\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacagua%2Fexample.java.helloworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacagua%2Fexample.java.helloworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacagua%2Fexample.java.helloworld/lists"}