[...] checking whether i686-tld-linux-gcc supports #pragma _CRI duplicate... no checking how to create weak aliases with i686-tld-linux-gcc... attribute checking whether i686-tld-linux-gcc supports weak aliases across object file boundaries... yes checking for dlopen in -ldl... yes checking for pthread_create in -lpthread... yes checking for dlfcn.h... (cached) yes checking whether RTLD_DI_LINKMAP is declared... yes checking for inline... inline checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for gettimeofday... yes checking for munmap... yes checking for socket... yes checking for strerror... yes checking for strtol... yes checking for sched_getcpu... yes checking for sysconf... yes checking urcu-bp.h usability... yes checking urcu-bp.h presence... yes checking for urcu-bp.h... yes checking for _cds_lfht_new in -lurcu-cds... yes checking caa_likely()... yes checking for synchronize_rcu_bp in -lurcu-bp... yes checking for call_rcu_bp in -lurcu-bp... yes checking linux/perf_event.h usability... yes checking linux/perf_event.h presence... yes checking for linux/perf_event.h... yes checking UST support for architecture perf event counters... yes checking host system alignment requirements... i686 checking if /usr/lib/jvm/java/bin/javac works... yes checking for kaffe... no checking for java... java checking for uudecode... no configure: WARNING: I have to compile Test.class from scratch checking if java works... yes checking for jar... jar checking for /usr/lib/jvm/java/bin/javac... no configure: error: cannot find JDK; try setting $JAVAC or $JAVA_HOME error: Bad exit status from /tmp/B.71da9c/rpm-tmp.18107 (%build) RPM build errors: Bad exit status from /tmp/B.71da9c/rpm-tmp.18107 (%build) ended at: Fri Mar 20 13:07:09 2015, done in 01days 00h 00m 32s error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device Begin-PLD-Builder-Info Build-Time: user:20.31s sys:10.01s real:36.04s (faults io:301 non-io:859754) End-PLD-Builder-Info