View Single Post
  #3   (View Single Post)  
Old 15th July 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,309
Default

Quote:
Originally Posted by Nureo View Post
I tried with packages, jde and jdk. They were installed fine.

It didn't work
This is the correct behavior as installation does not set the commonly set environment variables:

http://www.coderanch.com/t/600047/ja...-HOME-JRE-HOME

As a bare minimum, you need to determine where java & javac are located. Variations of the following command will be your friend:

$ find / -name java -print
Quote:
Well, the last option I tried: ports
Resorting to compiling is not as simple as you state. The very first thing you should do when contemplating compilation is to study how the ports tree is configured. You should study Section 15 of the official FAQ thoroughly before starting.

Lastly, please post all ports questions in the correct subforum.

Last edited by ocicat; 15th July 2016 at 11:24 PM. Reason: correct spelling
Reply With Quote