sun-j2sdk depends on alsa-lib not alsa-driver (since it doesn't play sounds while compiling but tries to include headers from /usr/include/alsa *not* included in alsa-driver) Reproducible: Always Steps to Reproduce: 1. 2. 3.
maybe virtual/alsa should be used
ok, fixed it; changed it to alsa-lib