Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.