{"id":20923534,"url":"https://github.com/shingareom/javalanguagecompiler","last_synced_at":"2025-08-01T17:37:17.889Z","repository":{"id":184009496,"uuid":"671132843","full_name":"shingareom/JavaLanguageCompiler","owner":"shingareom","description":"Java Language Compiler is a simple C program that automates the process of compiling and running Java programs.","archived":false,"fork":false,"pushed_at":"2023-07-27T13:23:43.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T00:42:58.372Z","etag":null,"topics":["c","c-language","clanguage","compiler","cprogramming","diploma","diploma-project","fun","java","javacompiler","omshingare","project","shingareom"],"latest_commit_sha":null,"homepage":"","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/shingareom.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":"2023-07-26T15:58:33.000Z","updated_at":"2024-06-20T11:26:48.000Z","dependencies_parsed_at":"2023-09-06T14:46:19.194Z","dependency_job_id":null,"html_url":"https://github.com/shingareom/JavaLanguageCompiler","commit_stats":null,"previous_names":["shingareom/javalanguagecompiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shingareom/JavaLanguageCompiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2FJavaLanguageCompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2FJavaLanguageCompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2FJavaLanguageCompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2FJavaLanguageCompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shingareom","download_url":"https://codeload.github.com/shingareom/JavaLanguageCompiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shingareom%2FJavaLanguageCompiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268268568,"owners_count":24223092,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","c-language","clanguage","compiler","cprogramming","diploma","diploma-project","fun","java","javacompiler","omshingare","project","shingareom"],"created_at":"2024-11-18T20:16:17.600Z","updated_at":"2025-08-01T17:37:17.845Z","avatar_url":"https://github.com/shingareom.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Language Compiler\n\n## Description\n\nJava Language Compiler is a simple C program that automates the process of compiling and running Java programs. It takes the file name of a Java source file as input, compiles it using the `javac` command, and then runs the compiled Java program using the `java` command.\n\n## Project Owner\n\n- Name: Om Shingare\n- GitHub: [ShingareOm](https://github.com/ShingareOm)\n\n## Getting Started\n\n### Prerequisites\n\n- Make sure you have Java Development Kit (JDK) installed on your system.\n\n### Usage\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/ShingareOm/JavaLanguageCompiler.git\n```\n\n2. Compile the C program:\n```bash\ngcc main.c -o JavaCompiler\n```\n\n3. Run the program:\n```bash\n./JavaCompiler\n```\n\n4. Enter the Java source file name (without the .java extension) when prompted.\n\n5. The program will compile the Java file and execute it automatically.\n\n### Making the Executable File Global\n1. For Linux and macOS Users\n\n    - If you are using Linux or macOS, you can add the JavaCompiler executable to a directory in your system's PATH, so you can run it from anywhere in the terminal.\n\n    - After compiling the C program and obtaining the JavaCompiler executable, move it to a directory that you want to use for storing your globally accessible executables. For example, you can create a bin directory in your home folder and move the JavaCompiler executable there.\n\n    - Open your terminal and navigate to your home directory (or any other location where you stored the JavaCompiler executable).\n\n    - Run the following command to open your shell's profile file in a text editor. Depending on the shell you are using, the profile file could be .bashrc, .bash_profile, .zshrc, or something similar.\n\n    ```bash\n    nano .bashrc\n    ```\n\n    - Add the following line at the end of the profile file. Replace /path/to/bin with the actual path to the directory containing the JavaCompiler executable.\n\n    ```bash\n    export PATH=\"/path/to/bin:$PATH\"\n    ```\n\n    - Save and close the file by pressing Ctrl + X, then Y, and finally Enter (if you're using nano).\n\n    - Refresh your shell by running the following command:\n\n    ```bash\n    source .bashrc\n    ```\n    - Now you should be able to run the JavaCompiler executable from anywhere in the terminal.\n\n    ```bash\n    JavaCompiler\n    ```\n    - Please ensure that the JavaCompiler executable is in a secure and trusted location, as adding directories to the PATH can potentially pose security risks if you include untrusted or malicious executables.\n\n2. For Windows Users\n    - If you are using Windows, you can add the JavaCompiler executable to a directory in your system's PATH to run it from anywhere in the Command Prompt or PowerShell.\n\n    - After compiling the C program and obtaining the JavaCompiler executable, move it to a directory that you want to use for storing your globally accessible executables. For example, you can create a bin directory in your C:\\ drive and move the JavaCompiler executable there.\n\n    - Open the Start menu, type \"environment variables,\" and select \"Edit the system environment variables.\"\n\n    - Click the \"Environment Variables\" button at the bottom right.\n\n    - In the \"System Variables\" section, scroll down and find the \"Path\" variable. Click \"Edit.\"\n\n    - Click \"New\" and enter the full path to the directory containing the JavaCompiler executable (e.g., C:\\bin).\n\n    - Click \"OK\" to save the changes.\n\n    - Open a new Command Prompt or PowerShell window (or restart your existing one).\n\n    - Now you should be able to run the JavaCompiler executable from anywhere in the Command Prompt or PowerShell.\n\n    ```bash\n    JavaCompiler\n    ```\n    - Please ensure that the JavaCompiler executable is in a secure and trusted location, as adding directories to the PATH can potentially pose security risks if you include untrusted or malicious executables.\n\n\n## Contributing\nContributions are welcome! If you find any issues or want to add new features, feel free to open an issue or submit a pull request.\n\n## License\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshingareom%2Fjavalanguagecompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshingareom%2Fjavalanguagecompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshingareom%2Fjavalanguagecompiler/lists"}