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

Pyalink useLocalEnv No such file or directory: 'java' #219

Open
joyatcloudfall opened this issue Oct 12, 2022 · 1 comment
Open

Pyalink useLocalEnv No such file or directory: 'java' #219

joyatcloudfall opened this issue Oct 12, 2022 · 1 comment

Comments

@joyatcloudfall
Copy link

joyatcloudfall commented Oct 12, 2022

我尝试在运行其中一个pyalink的example。但是在第一步的时候就出现了找不到java的问题。我觉得很困惑,因为在同一个notebook中使用os.getevn('JAVA_HOME')可以成功打印出我的java路径。

from pyalink.alink import *
resetEnv()
useLocalEnv(1, config=None)

这是我的java版本

java version "1.8.0_341"
Java(TM) SE Runtime Environment (build 1.8.0_341-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)

@fangichao
Copy link

解决了吗同学

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

2 participants