Veja, estas instruções vão estar abaixo no Faq do Debian, mas repetindo 1) Carregue o pacote Java da Sun, executavel para linux o nome do aerquivo é: j2sdk-1_4_2_08-linux-i586.bin
2) Instale ele, no diretório /usr/local 3) Siga as intruções da página do debian: http://www.debian.org/doc/manuals/debian-java-faq/ 4)Geralmente, uso a seguinte instruções para tornar o pacote java da sun como default para compilações e execuções: 11.1.2 Making Java 2 work in Debian If you wish to use Sun's or Blackdown's jdk 1.2 or later in Debian download the packages provided by Blackdown (they are available in aptable directories) from the different mirrors available in http://www.blackdown.org/java-linux/mirrors.html (check the debian subdir). Currently there are i386 packages for the Java2 SDK and RE, JAI, Java3D and JMF. This is the recommended mechanism for more information read How can I get Debian packages from Blackdown?, Section 11.1. Or you can download the archives yourself (that is, the tar.gz, no the .deb package) and use the following mechanism: * Make a directory under /usr/local (for example /usr/local/sun). * Download the archine into this directory, then unpack it. A directory jdk1.X [4] will be created. * Adjust the alternatives to work correctly: update-alternatives --install /usr/bin/javac javac /usr/local/sun/jdk1.X/bin/javac 120 update-alternatives --install /usr/bin/java Java /usr/local/sun/jdk1.X/bin/java 120 * Check your alternatives with "type" type javac type java You should have now a fully working jdk 1.X environment, virtual machine and compiler included. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

