No arch-indep path to java included in maven part

Bug #1724533 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
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.

Revision history for this message
Sergio Schvezov (sergiusens) wrote : Re: [Bug 1724533] [NEW] No arch-indep path to java included in maven part

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.