Trying to install Java on FreeBSD

Vineeth Karkad (vkarkad) vkarkad at cisco.com
Thu Jul 28 18:27:47 UTC 2016


[auto-build at rel-bld11 ~]$ uname -a
FreeBSD rel-bld11.eng 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Wed Feb  8
16:11:26 PST 2012  
root@:/sys/amd64/compile/MESSAGING_GATEWAY.amd64_INSTALL  amd64
[auto-build at rel-bld11 ~]$ /usr/local/openjdk7/bin/java -version
openjdk version "1.7.0"
OpenJDK Runtime Environment (build 1.7.0-root_2015_12_22_07_05-b00)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)


I have another host with the same version of FreeBSD, that has openjdk7.
Not sure how it worked on that host.

Regards,
Vineeth.

On 28/07/16, 11:50 PM, "Jung-uk Kim" <jkim at FreeBSD.org> wrote:

>On 07/28/16 02:12 PM, Vineeth Karkad (vkarkad) wrote:
>> Thank you Michael for the quick response.
>> 
>>> Do you use head- ports or Q'- ports?
>> Not sure. How do I find out this ? I am relatively new to FreeBSD.
>> 
>> rel-bld11# grep VERSION Makefile
>> PORTVERSION=    
>>${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_BUILD_NUMBER}
>> JDK_MAJOR_VERSION=      7
>> JDK_MINOR_VERSION=      0
>> JDK_SRC_DISTFILE=
>>${PORTNAME}-${JDK_MAJOR_VERSION}-fcs-src-b${JDK_BUILD_NUMBER}-${JDK_BUILD
>>_DATE}
>> ANT_VERSION=            1.8.2
>> ANT_DISTFILE=           apache-ant-${ANT_VERSION}-bin
>> INSTALLDIR=     ${PREFIX}/${PORTNAME}${JDK_MAJOR_VERSION}
>>                 ANT_HOME="${WRKDIR}/apache-ant-${ANT_VERSION}" \
>>         @${ECHO} "@exec ${LOCALBASE}/bin/registervm
>>'${INSTALLDIR}/bin/java # OpenJDK${JDK_MAJOR_VERSION}'" >> ${TMPPLIST}
>>         "${LOCALBASE}/bin/registervm" "${INSTALLDIR}/bin/java #
>>OpenJDK${JDK_MAJOR_VERSION}"
>
>Clearly, you are building ancient ports on ancient FreeBSD
>(9.0-RELEASE).  Both ports tree and FreeBSD are not supported any more.
>
>Jung-uk Kim
>



More information about the freebsd-java mailing list