{"id":21670502,"url":"https://github.com/engineering87/sharpjdkwrapper","last_synced_at":"2026-02-01T19:31:46.102Z","repository":{"id":43278164,"uuid":"468308948","full_name":"engineering87/SharpJDKWrapper","owner":"engineering87","description":"A project designed to encapsulate the execution of Java applications within .NET processes and Windows services, enabling seamless integration and management of Java applications in .NET environments.","archived":false,"fork":false,"pushed_at":"2024-10-29T18:08:50.000Z","size":344,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T22:21:20.216Z","etag":null,"topics":["dotnet","java","jdk","wrapper"],"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/engineering87.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":"2022-03-10T11:12:30.000Z","updated_at":"2024-10-29T18:09:08.000Z","dependencies_parsed_at":"2024-11-25T12:42:49.187Z","dependency_job_id":null,"html_url":"https://github.com/engineering87/SharpJDKWrapper","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/engineering87%2FSharpJDKWrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineering87%2FSharpJDKWrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineering87%2FSharpJDKWrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineering87%2FSharpJDKWrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engineering87","download_url":"https://codeload.github.com/engineering87/SharpJDKWrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507468,"owners_count":21115607,"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":["dotnet","java","jdk","wrapper"],"created_at":"2024-11-25T12:32:41.721Z","updated_at":"2026-02-01T19:31:46.095Z","avatar_url":"https://github.com/engineering87.png","language":"C#","readme":"# SharpJDKWrapper\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![issues - SharpJDKWrapper](https://img.shields.io/github/issues/engineering87/SharpJDKWrapper)](https://github.com/engineering87/SharpJDKWrapper/issues)\n[![stars - SharpJDKWrapper](https://img.shields.io/github/stars/engineering87/SharpJDKWrapper?style=social)](https://github.com/engineering87/SharpJDKWrapper)\n\nA simple project that enables the execution of Java applications within a .NET environment, ideal for scenarios requiring quick hosting and testing of Java services without the need for dedicated application servers.\n\n### How it works\nSharpJDKWrapper, built on .NET Framework 4.8, enables the execution of Java JAR files within .NET processes in a Windows environment. It can be installed as a Windows service, allowing JARs to be hosted for testing purposes without the need for configuring application servers like Tomcat.\n\n\u003cimg src=\"SharpJDKWrapper.png\" width=50% height=50%\u003e\n\n### How to use it\nTo use SharpJDKWrapper, you need to configure the following keys within the application config:\n\n```xml\n\u003cappSettings\u003e\n\t\u003cadd key=\"JDK_DIRECTORY\" value=\"C:\\JDK\\bin\"/\u003e\n\t\u003cadd key=\"JAR_DIRECTORY\" value=\"C:\\JARs\"/\u003e\n\t\u003cadd key=\"API_ADDRESS\" value=\"http://localhost:12345/\"/\u003e\n\u003c/appSettings\u003e\n```\n\nIn the `JDK_DIRECTORY` key, specify the path to the directory where the JDK is installed. In `JAR_DIRECTORY`, provide the path to the directory containing the JAR files. \nFinally, `API_ADDRESS` defines the endpoint at which the APIs will be exposed.\n\n### API\nSharpJDKWrapper provides REST APIs to perform specific commands, including:\n\n* Retrieving the number of active Java services.\n* Checking the status of a particular Java service.\n* Stopping a specific Java service.\n\n### Future improvements\nSharpJDKWrapper can be easily migrated to.NET Core.\n\n## How to Contribute\nThank you for considering to help out with the source code!\nIf you'd like to contribute, please fork, fix, commit and send a pull request for the maintainers to review and merge into the main code base.\n\n * [Setting up Git](https://docs.github.com/en/get-started/getting-started-with-git/set-up-git)\n * [Fork the repository](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)\n * [Open an issue](https://github.com/engineering87/SharpJDKWrapper/issues) if you encounter a bug or have a suggestion for improvements/features\n\n### Licensee\nSharpJDKWrapper source code is available under MIT License, see license in the source.\n\n### Contact\nPlease contact at francesco.delre.87[at]gmail.com for any details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineering87%2Fsharpjdkwrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineering87%2Fsharpjdkwrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineering87%2Fsharpjdkwrapper/lists"}