No arch-indep path to java included in maven part

Bug #1724533 reported by Stuart Bishop on 2017-10-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Medium
Unassigned

Bug Description

I've built a part with the maven plugin, which 'just worked'.

Looking at my stage area however, I only see paths to the java executable include my architecture:

$ find stage -name java
stage/usr/share/java
stage/usr/lib/jvm/java-8-openjdk-amd64/bin/java
stage/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
stage/etc/ssl/certs/java

Without /usr/bin/java or similar, I can't define my apps: section in an architecture independent way. Some update-java-alternatives magic or a symlink seems to be needed.

On mié, oct 18, 2017 at 7:35 AM, Stuart Bishop
<email address hidden> wrote:
> Public bug reported:
>
> I've built a part with the maven plugin, which 'just worked'.
>
> Looking at my stage area however, I only see paths to the java
> executable include my architecture:
>
> $ find stage -name java
> stage/usr/share/java
> stage/usr/lib/jvm/java-8-openjdk-amd64/bin/java
> stage/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
> stage/etc/ssl/certs/java
>
> Without /usr/bin/java or similar, I can't define my apps: section in
> an
> architecture independent way. Some update-java-alternatives magic or a
> symlink seems to be needed.

Sounds like a sensible request

Status: Triaged
Importance: Medium

Changed in snapcraft:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers