我想获取jdk的路径以在ubuntu中设置JAVA_HOME
我想在 ubuntu 服务器上运行 jar 文件而不写完整路径。因此,我想编辑.zshrc。如果您能告诉我们如何设置 JAVA_HOME 和 PATH,我将不胜感激。
我目前正在参考这个网站进行尝试,但没有成功,因为我不知道如何获取jdk的路径。我遇到麻烦了。 https://www.ibm.com/docs/en/b2b-integrator/6.0.1?topic=variables-setting-java-linux" ibm.com/docs/en/b2b-integrator/6.0.1?topic=variables-setting-java-linux
I want to run a jar file on a ubuntu server without writing the full path. Therefore, I would like to edit the .zshrc. I would appreciate it if you could tell us how to set JAVA_HOME and PATH.
I am currently trying that with reference to this web site, but have been unsuccessful because I don't know how to get the path to the jdk. I am having trouble.
https://www.ibm.com/docs/en/b2b-integrator/6.0.1?topic=variables-setting-java-linux
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)