Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2017 16:47:12 +1100
From:      Aristedes Maniatis <ari@ish.com.au>
To:        freebsd-java@freebsd.org
Subject:   port dependency on JRE and not JDK
Message-ID:  <3434c08d-d46f-91a9-324c-a60a37471071@ish.com.au>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3434c08d-d46f-91a9-324c-a60a37471071>