Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Problem solving:. / config.sh: line 103

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

After installing Weblogic, execute./ config.sh encountered the following error

[weblogic@rhcs1 bin]$ ./ config.sh

./ config.sh: line 103: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/bin/java: No such file or directory

Problem analysis:

No such file or directory: This problem indicates that there is a problem with the environment variable of the bin directory

We looked at the file commEnv.sh in the same directory and found the following text

We cd to the above directory to view

[weblogic@rhcs1 bin]$ cd /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64

[weblogic@rhcs1 java-1.7.0-openjdk-1.7.0.9.x86_64]$ ls

jre

[weblogic@rhcs1 java-1.7.0-openjdk-1.7.0.9.x86_64]$ cd jre/

[weblogic@rhcs1 jre]$ ls

bin lib

As you can see, the problem is with the bin path in the commEnv.sh file.

[Correction]

Modify commEnv.sh file

JAVA_HOME="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/ jre"

ok, solve

----------- end ------------

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report