localhost / # emerge azureus Calculating dependencies... done! >>> Emerging (1 of 2) dev-java/commons-cli-1.0-r4 to / >>> Downloading 'http://adelie.polymtl.ca/distfiles/cli-1.0-src.tar.gz' --12:20:59-- http://adelie.polymtl.ca/distfiles/cli-1.0-src.tar.gz => `/usr/portage/distfiles/cli-1.0-src.tar.gz' Resolving adelie.polymtl.ca... 132.207.4.160 Connecting to adelie.polymtl.ca|132.207.4.160|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 37,046 (36K) [application/x-gzip] 100%[====================================>] 37,046 12.61K/s 12:21:02 (12.60 KB/s) - `/usr/portage/distfiles/cli-1.0-src.tar.gz' saved [37046/37046] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking cli-1.0-src.tar.gz ;-) ... [ ok ] * There was a problem determining which VM to use for generation-1 * This is because the way Java is handled on Gentoo has drastically changed. * There does not seem to be a 1.4 or 1.3 JDK installed. * You should probably install =virtual/jdk-1.4* or =virtual/jdk-1.3* * It is important to have either a 1.4 or 1.3 JDK installed * in order for the old and new Java systems to coexist * Details about this can be found at: * http://overlays.gentoo.org/proj/java/wiki/Why_We_Need_Java14 * If you wonder why we can't just depend on the needed JDK version, * then read https://bugs.gentoo.org/show_bug.cgi?id=144240 * You should run, and follow the advice of: * /usr/bin/java-check-environment * You will also likely want to follow the Java Upgrade Guide: * http://www.gentoo.org/proj/en/java/java-upgrade.xml * If you have problems with the guide, please see: * http://overlays.gentoo.org/proj/java/wiki/Common_Problems !!! ERROR: dev-java/commons-cli-1.0-r4 failed. Call stack: ebuild.sh, line 1562: Called dyn_setup ebuild.sh, line 665: Called pkg_setup ebuild.sh, line 1255: Called java-pkg_pkg_setup java-pkg.eclass, line 61: Called die !!! Expected VMHANDLE to be defined in the env !!! If you need support, post the topmost build error, and the call stack if relevant. localhost / # java java java-config-1 javah java-1.5-fixer java-config-2 javap java-check-environment javac javaws java-config javadoc localhost / # java-check-environment * === Java Environment Checker === * The purpose of this script is to check the sanity of your Java Environment. * We have significantly changed and improved the way Java is handled in many respects. * Please refer to http://www.gentoo.org/proj/en/java/java-upgrade.xml for details * Checking vm_environment_files ... [ ok ] * Checking user_settings ... * Running as root. Don't need to check user settings. [ ok ] * Checking generation_1_system_vm ... * No Generation-1 System VM is set! (no /etc/env.d/20java) * It doesn't look like java-config-1 sees any installed VMs. * It is most likely because you don't have a 1.4 JDK installed * This is required for generation-1 to work properly. * You will want to emerge =virtual/jdk-1.4* [ !! ] * Some problems were found. Please follow the instructions above, and rerun java-check-environment localhost / # emerge --search jdk Searching... [ Results for search key : jdk ] [ Applications found : 6 ] * dev-java/blackdown-jdk Latest version available: 1.4.2.03-r12 Latest version installed: [ Not Installed ] Size of files: 66,770 kB Homepage: http://www.blackdown.org Description: Blackdown Java Development Kit License: sun-bcla-java-vm * dev-java/diablo-jdk [ Masked ] Latest version available: 1.5.0.07.01 Latest version installed: [ Not Installed ] Size of files: 53,073 kB Homepage: http://www.FreeBSDFoundation.org/downloads/java.shtml Description: Java Development Kit License: sun-bcla-java-vm * dev-java/ibm-jdk-bin Latest version available: 1.5.0.3-r1 Latest version installed: [ Not Installed ] Size of files: 261,215 kB Homepage: http://www.ibm.com/developerworks/java/jdk/ Description: IBM Java Development Kit 1.5 License: IBM-J1.5 * dev-java/jrockit-jdk-bin Latest version available: 1.5.0.06-r1 Latest version installed: [ Not Installed ] Size of files: 236,527 kB Homepage: http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp Description: BEA WebLogic's J2SE Development Kit, R26.4.0 License: jrockit * dev-java/sun-jdk Latest version available: 1.5.0.10 Latest version installed: 1.5.0.10 Size of files: 91,269 kB Homepage: http://java.sun.com/j2se/1.5.0/ Description: Sun's J2SE Development Kit, version 1.5.0.10 License: dlj-1.1 * virtual/jdk Latest version available: 1.5.0 Latest version installed: 1.5.0 Size of files: 0 kB Homepage: http://java.sun.com/ Description: Virtual for JDK License: as-is