Mail archive
alpine-user

[alpine-user] Trouble Installing Oracle Java

From: Bruce Montrose <bruce.montrose_at_nrl.navy.mil>
Date: Tue, 31 Jul 2018 07:23:24 -0400

Followed procedure outlined here: https://wiki.alpinelinux.org/wiki/Installing_Oracle_Java

Keep getting /opt/java/current/bin/java not found error.

Current state of my machine:

> ls -al /opt/java
total 12
drwxr-xr-x    3 root     root          4096 Jul 30 12:56 .
drwxr-xr-x    3 root     root          4096 Jul 30 12:53 ..
lrwxrwxrwx    1 root     root            20 Jul 30 12:55 current -> /opt/java/jdk-10.0.2
drwxr-xr-x    8 root     root          4096 Jul 30 12:55 jdk-10.0.2

> paxctl -v $(which java)
PaX control v0.9
Copyright 2004,2005,2006,2007,2009,2010,2011,2012,2014 PaX Team <pageexec_at_freemail.hu>

- PaX flags: -p-s-m-x-e-r [/opt/java/current/bin/java]
        PAGEEXEC is disabled
        SEGMEXEC is disabled
        MPROTECT is disabled
        RANDEXEC is disabled
        EMUTRAMP is disabled
        RANDMMAP is disabled
                                                                                                ~                                                                 > paxctl -v $(which javac)
PaX control v0.9
Copyright 2004,2005,2006,2007,2009,2010,2011,2012,2014 PaX Team <pageexec_at_freemail.hu>

- PaX flags: -p-s-m-x-e-r [/opt/java/current/bin/javac]
        PAGEEXEC is disabled
        SEGMEXEC is disabled
        MPROTECT is disabled
        RANDEXEC is disabled
        EMUTRAMP is disabled
        RANDMMAP is disabled
                                                                                                ~                                                                 > echo $JAVA_HOME
/opt/java/current
                                                                                                ~                                                                 > echo $PATH
/home/montrose/.opam/system/bin:/home/montrose/bin:/home/montrose/bin:/usr/local/installed/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/java/current/bin
                                                                                                ~                                                                 > java
-bash: /opt/java/current/bin/java: No such file or directory
                                                                                                ~                                                                 > uname -a
Linux puget 4.14.52-0-vanilla #1-Alpine SMP Tue Jun 26 06:56:39 UTC 2018 x86_64 Linux

Respectfully,
Bruce Montrose Computer Scientist Naval Research Laboratory Code 5542 4555 Overlook Ave. SW Washington, DC 20375



---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Tue Jul 31 2018 - 07:23:24 UTC