簡體   English   中英

/ opt / IBM / WebSphere / AppServer / java / bin / java:沒有這樣的文件或目錄

[英]/opt/IBM/WebSphere/AppServer/java/bin/java: No such file or directory

我正在運行python文件以在WebSphere中啟動HTTP服務器,但突然在某個錯誤的位置搜索了Java,然后我停止了服務器並嘗試通過startNode.sh Shell腳本啟動,但未啟動服務器,並在/ opt /中給出了相同的錯誤來搜索Java IBM / WebSphere / AppServer / java / bin / java。

以前,即使我在bash_profile中設置java類路徑也很好。

當我嘗試運行文件./startNode.sh或./startManager.sh時,出現錯誤。

錯誤代碼:

/opt/IBM/WebSphere/AppServer/bin/startNode.sh: line 151: /opt/IBM/WebSphere/AppServer/java/bin/java: No such file or directory.

我如何指定路徑,以便Web-sphere服務器可以正確使用它。 提前致謝。

WebSphere中的路徑由managesdk命令管理。

startNode.sh腳本不起作用似乎表明通過移動JDK或更改腳本以指向其他位置來修改安裝。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM