nanobox-io / nanobox-engine-java

Engine for running Java apps with Nanobox
https://nanobox.io
MIT License
4 stars 8 forks source link

openjdk8 not working #21

Open rgoomar opened 7 years ago

rgoomar commented 7 years ago

When I tried to run the following configuration, java was not found:

run.config:
  engine: java
  engine.config:
    runtime: openjdk8
rgoomar commented 7 years ago

When looking at this code - https://github.com/nanobox-io/nanobox-pkgsrc-base/blob/master/openjdk8/Makefile#L3 That doesn't exist in the package list in pkgsrc. I actually only see openjdk8-1.8.131 in http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/README-all.html

rgoomar commented 7 years ago

More context, here is the error output:

/var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/jre/li
b/amd64/libverify.so, needed by openjdk8-1.8.112nb1 is not present in this system.
      /var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/jre/li
b/amd64/libnio.so, needed by openjdk8-1.8.112nb1 is not present in this system.
      /var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/jre/li
b/amd64/libnet.so, needed by openjdk8-1.8.112nb1 is not present in this system.
      /var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/jre/li
b/amd64/libjava.so, needed by openjdk8-1.8.112nb1 is not present in this system.
      /var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/jre/li
b/amd64/libawt_xawt.so, needed by openjdk8-1.8.112nb1 is not present in this system.
      /var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/jre/li
b/amd64/libawt.so, needed by openjdk8-1.8.112nb1 is not present in this system.
      /var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/jre/li
b/amd64/jli/libjli.so, needed by openjdk8-1.8.112nb1 is not present in this system.
      /var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/jre/bi
n/../lib/amd64/jli/libjli.so, needed by openjdk8-1.8.112nb1 is not present in this sys
tem.
      /var/tmp/pkgsrc-build-base/base/openjdk8/work/.destdir/data/java/openjdk8/bin/..
/lib/amd64/jli/libjli.so, needed by openjdk8-1.8.112nb1 is not present in this system.

      /usr/lib/x86_64-linux-gnu/libxcb.so.1, needed by openjdk8-1.8.112nb1 is not pres
ent in this system.
      /usr/lib/x86_64-linux-gnu/libXext.so.6, needed by openjdk8-1.8.112nb1 is not pre
sent in this system.
      /usr/lib/x86_64-linux-gnu/libXdmcp.so.6, needed by openjdk8-1.8.112nb1 is not pr
esent in this system.
      /usr/lib/x86_64-linux-gnu/libXau.so.6, needed by openjdk8-1.8.112nb1 is not pres
ent in this system.
      /usr/lib/x86_64-linux-gnu/libX11.so.6, needed by openjdk8-1.8.112nb1 is not pres
ent in this system.