Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kotlinc requires javac on Windows #410

Open
Vladislav0Art opened this issue Oct 31, 2024 · 0 comments · May be fixed by #412
Open

kotlinc requires javac on Windows #410

Vladislav0Art opened this issue Oct 31, 2024 · 0 comments · May be fixed by #412
Assignees
Labels
bug Something isn't working

Comments

@Vladislav0Art
Copy link
Collaborator

Describe the bug
Windows' kotlinc calls javac (or java?) in its internals. If there is no javac in PATH the compilation fails. In KotlinTestCompiler we need to search for both kotlinc and javac, and somehow let kotlinc "know" about javac.

To Reproduce
Steps to reproduce the behavior:

  1. Run test generation on Windows (ensure no javac is present in PATH; it should be the case it you did not install java manually, from Oracle, for example).
  2. Observe compilation errors; see the console output; there should be an error about javac not found.

Expected behavior
Kotlin compilation should work correctly on Windows.

Additional context
Another Windows issue is this one: #407. These two issues are different, yet both relate to Windows compilation.

@Vladislav0Art Vladislav0Art added the bug Something isn't working label Oct 31, 2024
@SergeyDatskiv SergeyDatskiv self-assigned this Oct 31, 2024
@SergeyDatskiv SergeyDatskiv linked a pull request Nov 4, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants