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

This path split not support windows #921

Open
lxzh opened this issue Jun 30, 2020 · 0 comments
Open

This path split not support windows #921

lxzh opened this issue Jun 30, 2020 · 0 comments

Comments

@lxzh
Copy link

lxzh commented Jun 30, 2020

While find the java_sdk_home path in enviroment, this path split not support windows:

def self.path_elements
    return [] unless ENV['PATH']
    ENV['PATH'].split (/[:;]/)
end

which will get such \Program\Java\jdk1.8.0_221\bin path in windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant