extrait d une conversation avec dpkg de #debian:
(00:28:36) doublehp_freenode: java
(00:28:38) dpkg: methinks java is a platform independent OO language. People usually associate Java with eye-candy applets, this is in fact a relatively weak use of Java. Server-side Java is extremely powerful due to the threads capabilities and the huge number of APIs available. On the other hand, Sun's Java licensing is extremely restrictive. Ask me about <java licensing> and <install java> and <sid mozilla java> (for starters). write once, run nowhere
(00:28:46) doublehp_freenode: install java
(00:28:47) dpkg: First, read <java licensing>. Still here? If you're in sid, ask me about <java-package>. If you're in sarge, ask me about <java-package>, and grab it from http://packages.debian.org/java-package(...) . If you're in woody, you're screwed. Ask me about <install java by hand>.
(00:28:55) doublehp_freenode: sid mozilla java
(00:28:55) dpkg: extra, extra, read all about it, sid mozilla java is mozilla 1.7 (in sid) is compiled with g++ 3.2. The ABI has changed, and old Java virtual machines will not work any more. Please see http://www.mozilla.org/releases/mozilla1.3/#compatible(...) for details. http://jrfonseca.dyndns.org/debian/#java(...) for packages that work as of 13 July 2004. Ask me about <java-package>.
(00:29:06) doublehp_freenode: java-package
(00:29:06) dpkg: from memory, java-package is the new name for mpkg-j2se... err, I mean j2se-package... DAMN IT, CAN'T THEY PICK A NAME?! Anyway, it lets you build a .deb file from Sun's non-free upstream Java distributions. See "man make-jpkg". Cf. "make-kpkg" (from kernel-package). only in sid currently, but it's a -all package, so it's safe to use it in sarge. Grab sun-j2re1.5debian and similar from sid, too.
(00:29:20) doublehp_freenode: mozilla-java
(00:29:22) dpkg: methinks mozilla-java is First, read <install java>. Now go to /usr/lib/mozilla/plugins/ and make a symlink to /usr/local/jwhatever//plugin/i386/mozilla/libjavaplugin_oji.so (and repeat this procedure for every web browser you have installed). Also ask me about mozilla-java-bis
(00:29:26) doublehp_freenode: mozilla-java-bis
(00:29:27) dpkg: [mozilla-java-bis] http://z42.de/debian/(...) says in short to add 'deb http://z42.de(...) debian/' 'deb-src http://z42.de(...) debian/' to sapt sourcelist, download (for example) sun-j2re1.4debian_0.9_all.deb, 'apt-get install j2se-package', get (for example) j2re-1_4_2_05-linux-i586.bin from http://java.sun.com/downloads/index.html,(...) then 'j2se-package j2re-1_4_2_05-linux-i586.bin' ( end in mozilla-java-ter)
(00:29:30) doublehp_freenode: mozilla-java-ter
(00:29:32) dpkg: rumour has it, mozilla-java-ter is ... and then: 'dpkg -i sun-j2re1.4_1.4.2+05_i386.deb ; dpkg -i sun-j2re1.4debian_0.9_all.deb'. The process described in mozilla-java-bis (http://z42.de/debian/(...)) - works on the 27th sept 2004 with Mozilla 1.7.3; at the end of this process, check that /usr/lib/mozilla/plugins/libjavaplugin_oji.so is simlink to /usr/lib/j2re1.4-sun/plugin/i386/ns610-gcc32/libjavaplugin_oji.so ( and not to /usr/lib/j2se/1.4/jre/plugin/... )
dans mozilla-java-bis/ter, j explique comment creer un .deb a partir du binaire d installation ... l installation de ce .deb marche tres bien, et rousouds tous les problemes de dependances. Commence par la JRE, puis passes a la JSDK. j2re1.4 est un package virtuel concu pour organiser les dependances, pour t obliger a bien installer les choses dans l ordre. Evidement, tu m as pas l air tres experimente, donc tu aura du mal a comprendre, mais c est en forgeant qu el on devient forgeron.
Les packages virtuels sont cree uniquement pour organiser les dependances. Quand tu installera la JRE via dkpg, apres la generation par j2se-package , alors le .deb generer satisfera la dependance JRE, et tu pourra installe la SDK de la meme maniere.
Note que les bis/ter sont mon oeuvre, et qu ils m ont permis d installer correctement les 1.4 et 1.5, mais depuis Noel, impossible d avoir Java pour FireFox ... je trouves pas pourquoi: FF trouve bien java, sa version, mais le plugin est non fonctionnel.
Pour parler a dpkg; vas sur freenode, et
/msg dpkg help
ou demandes plus de precisions sur #debian.
Bon courage :)
PS: mefies toi de ce post: DLFP inclus des (...) apres les url dans les ligne apt ... vires les avant de les coller dans ton source.list.
[^] # Re: Et avec un .deb
Posté par doublehp . En réponse au message Pb installation JDK sous Debian. Évalué à 3.
(00:28:36) doublehp_freenode: java
(00:28:38) dpkg: methinks java is a platform independent OO language. People usually associate Java with eye-candy applets, this is in fact a relatively weak use of Java. Server-side Java is extremely powerful due to the threads capabilities and the huge number of APIs available. On the other hand, Sun's Java licensing is extremely restrictive. Ask me about <java licensing> and <install java> and <sid mozilla java> (for starters). write once, run nowhere
(00:28:46) doublehp_freenode: install java
(00:28:47) dpkg: First, read <java licensing>. Still here? If you're in sid, ask me about <java-package>. If you're in sarge, ask me about <java-package>, and grab it from http://packages.debian.org/java-package(...) . If you're in woody, you're screwed. Ask me about <install java by hand>.
(00:28:55) doublehp_freenode: sid mozilla java
(00:28:55) dpkg: extra, extra, read all about it, sid mozilla java is mozilla 1.7 (in sid) is compiled with g++ 3.2. The ABI has changed, and old Java virtual machines will not work any more. Please see http://www.mozilla.org/releases/mozilla1.3/#compatible(...) for details. http://jrfonseca.dyndns.org/debian/#java(...) for packages that work as of 13 July 2004. Ask me about <java-package>.
(00:29:06) doublehp_freenode: java-package
(00:29:06) dpkg: from memory, java-package is the new name for mpkg-j2se... err, I mean j2se-package... DAMN IT, CAN'T THEY PICK A NAME?! Anyway, it lets you build a .deb file from Sun's non-free upstream Java distributions. See "man make-jpkg". Cf. "make-kpkg" (from kernel-package). only in sid currently, but it's a -all package, so it's safe to use it in sarge. Grab sun-j2re1.5debian and similar from sid, too.
(00:29:20) doublehp_freenode: mozilla-java
(00:29:22) dpkg: methinks mozilla-java is First, read <install java>. Now go to /usr/lib/mozilla/plugins/ and make a symlink to /usr/local/jwhatever//plugin/i386/mozilla/libjavaplugin_oji.so (and repeat this procedure for every web browser you have installed). Also ask me about mozilla-java-bis
(00:29:26) doublehp_freenode: mozilla-java-bis
(00:29:27) dpkg: [mozilla-java-bis] http://z42.de/debian/(...) says in short to add 'deb http://z42.de(...) debian/' 'deb-src http://z42.de(...) debian/' to sapt sourcelist, download (for example) sun-j2re1.4debian_0.9_all.deb, 'apt-get install j2se-package', get (for example) j2re-1_4_2_05-linux-i586.bin from http://java.sun.com/downloads/index.html,(...) then 'j2se-package j2re-1_4_2_05-linux-i586.bin' ( end in mozilla-java-ter)
(00:29:30) doublehp_freenode: mozilla-java-ter
(00:29:32) dpkg: rumour has it, mozilla-java-ter is ... and then: 'dpkg -i sun-j2re1.4_1.4.2+05_i386.deb ; dpkg -i sun-j2re1.4debian_0.9_all.deb'. The process described in mozilla-java-bis (http://z42.de/debian/(...)) - works on the 27th sept 2004 with Mozilla 1.7.3; at the end of this process, check that /usr/lib/mozilla/plugins/libjavaplugin_oji.so is simlink to /usr/lib/j2re1.4-sun/plugin/i386/ns610-gcc32/libjavaplugin_oji.so ( and not to /usr/lib/j2se/1.4/jre/plugin/... )
dans mozilla-java-bis/ter, j explique comment creer un .deb a partir du binaire d installation ... l installation de ce .deb marche tres bien, et rousouds tous les problemes de dependances. Commence par la JRE, puis passes a la JSDK. j2re1.4 est un package virtuel concu pour organiser les dependances, pour t obliger a bien installer les choses dans l ordre. Evidement, tu m as pas l air tres experimente, donc tu aura du mal a comprendre, mais c est en forgeant qu el on devient forgeron.
Les packages virtuels sont cree uniquement pour organiser les dependances. Quand tu installera la JRE via dkpg, apres la generation par j2se-package , alors le .deb generer satisfera la dependance JRE, et tu pourra installe la SDK de la meme maniere.
Note que les bis/ter sont mon oeuvre, et qu ils m ont permis d installer correctement les 1.4 et 1.5, mais depuis Noel, impossible d avoir Java pour FireFox ... je trouves pas pourquoi: FF trouve bien java, sa version, mais le plugin est non fonctionnel.
Pour parler a dpkg; vas sur freenode, et
/msg dpkg help
ou demandes plus de precisions sur #debian.
Bon courage :)
PS: mefies toi de ce post: DLFP inclus des (...) apres les url dans les ligne apt ... vires les avant de les coller dans ton source.list.