Re: [PATCH 4/4] perf tools: add JVMTI agent library

Jiri Olsa
2015-02-12T13:26:19Z

On Wed, Feb 11, 2015 at 12:42:45AM +0100, Stephane Eranian wrote:

SNIP

> +LN=ln -sf
> +RM=rm
> +
> +SJVMTI=libjvmti.so.$(VERSION).$(REVISION).$(AGE)
> +VJVMTI=libjvmti.so.$(VERSION)
> +SLDFLAGS=-shared -Wl,-soname -Wl,$(VLIBPFM)
> +SOLIBEXT=so
> +
> +JDIR=$(shell /usr/sbin/update-java-alternatives -l | head -1 | cut -d ' ' -f 3)

I had to se JDIR manualy..

is there some generic way to get above dir? It does not
work on Fedora, 'yum provides' did not find any package
carrying update-java-alternatives binary..

jirka