[root@l003 java]# source /etc/ profile-bash: source: /etc/: is a directory to install java last step

The last step of lunix installation java appears in the input

After source /etc/profile, an error is reported

source /etc/profile

It is because when copying this command, there is no final semicolon, copying the following command will succeed

source /etc/profile;

You can see it works 

 

 

おすすめ

転載: blog.csdn.net/yanhaohui/article/details/130331148