NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[q] gradle on NetBSD 9.1 (amd64) with OpenJDK 11 -- does not work



Wanted to check if anybody has gradle working with OpenJDK 11 on OpenBSD 9.1
I cannot get it to work at all.

not even:

gradle status
  or
gradle init

I have tried going back to Gradle versions that are over 1 year old, and still same issue

https://github.com/gradle/gradle/issues/15087


I am thinking that something might be wrong with my sysctl.conf or login.conf or something else. If there are suggestions on what to look for next, would very much appreciate.


 -- my sysctl.conf --

nbsd1$ cat /etc/sysctl.conf
#!/sbin/sysctl -f
#
# $NetBSD: sysctl.conf,v 1.8 2011/09/25 21:47:22 christos Exp $
#
# sysctl(8) variables to set at boot time.

# Default on panic: dump core and reboot. See savecore(8) for information.
# Switch this to 1 if you want to enter the kernel debugger on crashes
# instead. See ddb(4) for an introduction and also try the "help" command
# at the db> prompt.
# If you understand the implication and want to change the behaviour before # /etc/rc.d/sysctl is run, use the kernel option DDB_ONPANIC, see options(4).
ddb.onpanic?=0

# Default core name template:
#kern.defcorename=%n.core

# Number of kernel threads to use for NFS client
#vfs.nfs.iothreads=4

# Default tty/pty character queue sizes. Should be bumped to 32K or so if
# used in networking (ppp/pppoe)
kern.tty.qsize=32000

#v-start
kern.ipc.shmmaxpgs=32768

kern.sbmax=8388608
net.inet.tcp.sendspace=3217968
net.inet.tcp.recvspace=3217968

net.inet.tcp.init_win=10



net.inet.tcp.recvbuf_auto=1
net.inet.tcp.sendbuf_auto=1
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216


net.inet.tcp.init_win_local=10


net.inet.tcp.congctl.selected=cubic
#this is invalid    net.inet.ip.ifq.maxlen = 4096
net.inet.tcp.delack_ticks=5

kern.maxfiles = 100000
kern.maxproc = 10044
kern.posix.semmax = 10128
#v-endnbsd1$

 -- my login .conf --


staff:\
:path=/usr/bin /bin /usr/sbin /sbin /usr/X11R7/bin /usr/pkg/bin /usr/pkg/sbin /usr/local/bin:\
        :umask=022:\
        :datasize-max=infinity:\
        :datasize-cur=1024M:\
        :maxproc-max=1044:\
        :maxproc-cur=1024:\
        :openfiles-cur=512:\
        :openfiles-max=104512:\
        :stacksize-cur=128M:
        :copyright=/dev/null:
        :ignorenologin:\
        :requirehome@:




 -- ulimit -a --

time          (-t seconds    ) unlimited
file          (-f blocks     ) unlimited
data          (-d kbytes     ) 1048576
stack         (-s kbytes     ) 114688
coredump      (-c blocks     ) unlimited
memory        (-m kbytes     ) 8022248
locked memory (-l kbytes     ) 2674082
thread        (-r threads    ) 1024
process       (-p processes  ) 1024
nofiles       (-n descriptors) 512
vmemory       (-v kbytes     ) unlimited
sbsize        (-b bytes      ) unlimited

-- java -version --
$ java -version
openjdk version "11.0.8-internal" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8-internal+0-adhoc.pkgsrc.openjdk-jdk11u-jdk-11.0.8-10-1) OpenJDK 64-Bit Server VM (build 11.0.8-internal+0-adhoc.pkgsrc.openjdk-jdk11u-jdk-11.0.8-10-1, mixed mode)



Home | Main Index | Thread Index | Old Index