Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed the openjdk on freebsd 9.0 RC2 as advised here. It was a bit slow, but it seemed to complete successfully. Now when I type:

mammalucco# java myjar.jar nogui
java: command not found

what am I doing wrong?

share|improve this question

Did you verify that the port installed correctly? Did you do locate java?

If locate does not find it, it's probably not built or installed correctly. If locate comes back with something, make sure that the directory containing java is in your PATH.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .