We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the problem The function get_java_home cannot find the path of JAVA_HOME in linux. Can you add these lines to detect the java home in linux?
try: result = subprocess.run( ["bash", "-c", "readlink -f $(which javac) | sed 's:/bin/javac::'"], capture_output=True, text=True, check=True ) return result.stdout.strip() except subprocess.CalledProcessError as e: print(e) Thanks.
except subprocess.CalledProcessError as e: print(e)
Thanks.
The text was updated successfully, but these errors were encountered:
Please submit a pull request.
Sorry, something went wrong.
I just made a request. Thank you.
The pull request was #546.
No branches or pull requests
Describe the problem
The function get_java_home cannot find the path of JAVA_HOME in linux.
Can you add these lines to detect the java home in linux?
try: result = subprocess.run( ["bash", "-c", "readlink -f $(which javac) | sed 's:/bin/javac::'"], capture_output=True, text=True, check=True ) return result.stdout.strip()
Thanks.
The text was updated successfully, but these errors were encountered: