Java JRE/JDK for FreeBSD?

cpghost cpghost at
Thu May 12 16:25:35 UTC 2016

On 05/12/16 18:12, cpghost wrote:
> On 05/12/16 06:44, Norbert Raimund Leisner wrote:
>> Hello support-team, hello Roman,
>> on the Oracle website
>> I didn´t find a suitable FreeBSD package there  for Java.
> Hello Norbert,
> if you can live with OpenJDK 8, just install the port
> java/openjdk8 and you're all set.
> You may also want to install an IDE, like java/eclipse
> or java/intellij to ease development. Both run just fine
> with OpenJDK8:
> $ uname -a
> FreeBSD 10.3-STABLE FreeBSD 10.3-STABLE #0 r299381: Tue May 10 21:34:52 CEST 2016     root at  amd64
> $ java -version
> openjdk version "1.8.0_77"
> OpenJDK Runtime Environment (build 1.8.0_77-b03)
> OpenJDK 64-Bit Server VM (build 25.77-b03, mixed mode)

I just forgot to add that because of the java VM wrapper
that enables one to install many Java implementations side-by-side
on the same machine, you need to set those environment variables in
your shell profile before you can invoke "java" and "javac":

$ printenv | grep JAVA

Good luck,


Cordula's Web.

More information about the freebsd-questions mailing list