简体   繁体   中英

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

I am running python file to start HTTP server in WebSphere but suddenly its searching java in some wrong location Then I stopped server and trying to start by startNode.sh shell script but its not starting server and giving same error its searching java in /opt/IBM/WebSphere/AppServer/java/bin/java.

previously it was fine even I set the java class-path in bash_profile.

When I try to run the file ./startNode.sh or ./startManager.sh its giving error.

ERROR CODE:

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

How can I specify the path so web-sphere server can take it correctly. Thanks in advance.

The paths in WebSphere are managed by the managesdk command.

The startNode.sh script not working seems to indicate the install was modified by either moving the JDK or changing a script to point elsewhere.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM