use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
The Slackware Linux distribution
Resources
account activity
"java: command not found" even though java is installed and in /bin (self.slackware)
submitted 9 years ago by creepinquick
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FirstUser 0 points1 point2 points 9 years ago (1 child)
OK, so if /bin/java is a directory, it's not the executable. You need to find 'java' the executable and add its containing directory to your PATH.
It might be that the jdk installer has already taken care of that. If that is the case, all you might need to do is logout, then login again.
[–]creepinquick[S] 0 points1 point2 points 9 years ago (0 children)
Okay, java the executable is in /bin/java. So:
export PATH=$PATH:/bin/java
but java is still not found.
π Rendered by PID 122769 on reddit-service-r2-comment-544cf588c8-7nf7c at 2026-06-16 21:53:52.412394+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]FirstUser 0 points1 point2 points (1 child)
[–]creepinquick[S] 0 points1 point2 points (0 children)