# my console output, using Adoptium JDK package
root@localhost:~# cd /root/jdk8u332-b09/bin/
root@localhost:~/jdk8u332-b09/bin# ls
appletviewer idlj java-rmi.cgi javap jdeps jjs jsadebugd keytool policytool schemagen unpack200
clhsdb jar javac jcmd jfr jmap jstack native2ascii rmic serialver wsgen
extcheck jarsigner javadoc jconsole jhat jps jstat orbd rmid servertool wsimport
hsdb java javah jdb jinfo jrunscript jstatd pack200 rmiregistry tnameserv xjc
root@localhost:~/jdk8u332-b09/bin# ./java
-bash: ./java: No such file or directory
When I'm running "ls " command the java shows up;
But when I execute it, the file can't be executed.