port dependency on JRE and not JDK

Aristedes Maniatis ari at ish.com.au
Mon Oct 23 05:50:04 UTC 2017


I'm having a little trouble understanding bsd.java.mk. It would appear that the combination of:

    NO_BUILD= yes
    USE_JAVA= yes
    JAVA_VERSION= 1.8+

Should give me a dependency on java/openjdk8-jre rather than java/openjdk8 but that's not happening. Am I doing something wrong or is this a limitation of the ports infrastructure?

Putting

    JAVA_PORT=java/openjdk8-jre

into make.conf didn't help either.


I'm trying to create jails for distribution of an app, so keeping it as small as possible is important and I only need the JRE.


Cheers
Ari


-- 
-------------------------->
Aristedes Maniatis
CEO, ish
https://www.ish.com.au
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A


More information about the freebsd-java mailing list