* Package: dev-java/edtftpj-2.0.4 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox !!! ERROR: The javac executable was not found in the Java path * Using: oracle-jre-bin-1.8 >>> Unpacking source... >>> Unpacking edtftpj-2.0.4.zip to /var/tmp/portage/dev-java/edtftpj-2.0.4/work >>> Source unpacked in /var/tmp/portage/dev-java/edtftpj-2.0.4/work >>> Preparing source in /var/tmp/portage/dev-java/edtftpj-2.0.4/work/edtftpj-2.0.4 ... ./test/data/test.jar ./lib/junit.jar ./lib/edtftpj.jar ./examples/howto/use_binary_ascii_mode/UseTransferModes.class ./examples/howto/use_active_passive_mode/UseConnectModes.class ./examples/howto/upload_download_and_delete_a_file/UploadDownloadFiles.class ./examples/howto/transfer_using_streams/TransferUsingStreams.class ./examples/howto/set_up_logging/SetupLogging.class ./examples/howto/pause_and_resume_transfers/PauseResumeTransfers.class ./examples/howto/pause_and_resume_transfers/CancelListener.class ./examples/howto/monitor_transfers_and_commands/MonitorTransfersCommands.class ./examples/howto/monitor_transfers_and_commands/LogProgressMonitor.class ./examples/howto/monitor_transfers_and_commands/LogMessageListener.class ./examples/howto/monitor_transfers_and_commands/EventListenerImpl.class ./examples/howto/get_a_directory_listing/GetDirectoryListing.class ./examples/howto/connect_to_an_FTP_server/ConnectToServer.class ./examples/howto/change_directories/ChangeDirectory.class >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/edtftpj-2.0.4/work/edtftpj-2.0.4 ... Rewriting attributes Rewriting ./src/build.xml >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/edtftpj-2.0.4/work/edtftpj-2.0.4 ... * java-pkg_ensure-dep: The ebuild is attempting to use junit, which is not declared with a SLOT in [RP]DEPEND and --build-only wasn't given. * Disabling all optional ANT_TASKS Warning: Unable to determine tools.jar location. If build fails because sun.* classes could not be found, Make sure you are using a JDK, not JRE as your user/system VM. and that you have java-config version 2.0.30 or above installed. Unable to locate tools.jar. Expected to find it in /opt/oracle-jre-bin-1.8.0.77/lib/tools.jar Buildfile: /var/tmp/portage/dev-java/edtftpj-2.0.4/work/edtftpj-2.0.4/src/build.xml init: compile: [mkdir] Created dir: /var/tmp/portage/dev-java/edtftpj-2.0.4/work/edtftpj-2.0.4/build/classes BUILD FAILED /var/tmp/portage/dev-java/edtftpj-2.0.4/work/edtftpj-2.0.4/src/build.xml:54: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/opt/oracle-jre-bin-1.8.0.77" Total time: 0 seconds * ERROR: dev-java/edtftpj-2.0.4::gentoo failed (compile phase): * eant failed * * Call stack: * ebuild.sh, line 133: Called src_compile * environment, line 3957: Called eant 'jar' '-Dftp.classpath=/usr/share/junit/lib/junit.jar' * environment, line 616: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * * If you need support, post the output of `emerge --info '=dev-java/edtftpj-2.0.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/edtftpj-2.0.4::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=oracle-jre-bin-1.8 CLASSPATH="" JAVA_HOME="/opt/oracle-jre-bin-1.8.0.77" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info =edtftpj-2.0.4 * The complete build log is located at '/var/log/portage/dev-java:edtftpj-2.0.4:20160426-011506.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/edtftpj-2.0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/edtftpj-2.0.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/edtftpj-2.0.4/work/edtftpj-2.0.4/src' * S: '/var/tmp/portage/dev-java/edtftpj-2.0.4/work/edtftpj-2.0.4'