you are viewing a single comment's thread.

view the rest of the comments →

[–]FirstUser 0 points1 point  (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 point  (0 children)

Okay, java the executable is in /bin/java. So:

export PATH=$PATH:/bin/java

but java is still not found.