Too many levels of symbolic links
when using ln to create soft links
root@instance-vgiv786y:/opt/jdk1.8.0_181/bin# ln-s Java /usr/local/bin/ Java
change to:
root @instancevgiv786y :/opt/jdk1.8.0_181/bin# ln-s /opt/jdk1.8.0_181/bin/ Java /usr/local/bin/ Java
Obviously I’m installing the JDK, but why would I want to create this soft connection?Just add the environment variable at /etc/profile
. However, when I connected this server as one of Jenkins’ nodes, I was surprised to find that Java could not be found. Obviously, I added the environment variable and it took effect. Jenkins had to look under various bin
directory, so I created this soft connection.
Read More:
- failed: Too many links (How to Fix)
- Solve the problem that WSL occupies too much C disk
- Solve the problem that the version of less is too high
- Solve the problem of error running xxxapplication command line is too long when compiling and running IntelliJ idea
- Error c2375: “wsacleanup”: redefine; Different links, etc
- ln: failed to create symbolic link ‘/usr/bin/pip’: File exists
- NotImplementedError: Cannot convert a symbolic Tensor (LSTM/strided_slice:0) to a numpy array
- Latex row overflow problem overfull / hbox (1.1499pt too wide) in paragraph
- Matlab: successfully solve too many input arguments
- To solve the problem of failed to load: data in HTML5 game running rmmv locally/ actors.json problem
- Zookeeper connection timeout problem, and refused to connect to solve the problem
- How to solve the problem of Cannot find module’npmlog’ when installing nodejs under Linux
- Solve the problem of unable to start under zookeeper Linux
- Solve the problem of pychar import error
- Solve the problem of using in tensoft 2. X tf.contrib.slim No module named appears in the package: tensorflow.contrib problem
- One of the ways to solve the problem of internal server error in flash learning
- Solve the problem that dbvisualizer cannot connect to mysql8
- IIS “Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long.”
- How to solve the problem of requirements check failed for JDK 8 when Cordova 9.0 is built
- How to solve the problem of creating notebook failed