java: command not found after installation
5,361
The asterisk indicates the specific file is executable, and is only displayed when using a specific argument to ls
(-F
). Your ls
command is likely aliased to include that switch by default. Try navigating to the directory containing java and run ./java
, or add that directory to your PATH environment variable.
Related videos on Youtube
Author by
axiorema
Updated on September 18, 2022Comments
-
axiorema over 1 year
I have installed Jre in my CentOS by following instruction here
But the problem is each directory or file contains the "*" (asterisk) at the end of file name or directory even though i have fired following command
chmod a+x or chmod +x
so please tell me how can i execute the executable file because when i am trying to run "java" its showing me following error
java:command not found
here is the screen shot
-
axiorema over 12 yearsHow to set a path ?
-
John T over 12 years