-
Torne seu arquivo executável usando:
chmod a+x <your_file>.bin
-
Agora execute-o usando:
./<your_file>.bin
Eu quero instalar o JDK 1.6 no meu sistema operacional Lubuntu.
Mas é um arquivo .bin
específico em vez de tar.gs
para o linux - Kit de desenvolvimento Java SE 6u45 .
ATUALIZAÇÃO:
Depois de seguir a sugestão, vejo o seguinte:
error: Failed dependencies:
/bin/basename is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/cat is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/cp is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/gawk is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/grep is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/ln is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/ls is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/mkdir is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/mv is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/pwd is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/rm is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/sed is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/sort is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/touch is needed by jdk-2000:1.6.0_45-fcs.x86_64
/usr/bin/cut is needed by jdk-2000:1.6.0_45-fcs.x86_64
/usr/bin/dirname is needed by jdk-2000:1.6.0_45-fcs.x86_64
/usr/bin/expr is needed by jdk-2000:1.6.0_45-fcs.x86_64
/usr/bin/find is needed by jdk-2000:1.6.0_45-fcs.x86_64
/usr/bin/tail is needed by jdk-2000:1.6.0_45-fcs.x86_64
/usr/bin/tr is needed by jdk-2000:1.6.0_45-fcs.x86_64
/usr/bin/wc is needed by jdk-2000:1.6.0_45-fcs.x86_64
/bin/sh is needed by jdk-2000:1.6.0_45-fcs.x86_64
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
/bin/sh is needed by sun-javadb-core-10.6.2-1.1.i386
Como posso descompactar e usar esse arquivo .bin
para descompactar o JDK?
Torne seu arquivo executável usando:
chmod a+x <your_file>.bin
Agora execute-o usando:
./<your_file>.bin