Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Java 64-bit
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Sun Jan 11, 2009 8:40 pm    Post subject: Reply with quote

È vero. Io mi sono scaricato il file a mano (prendendolo dal post di fbcyborg poco sopra) e poi servono anche il file Manifest e cartella files/ e files ivi contenuti.
Installato, aggiornato firefox, e finalmente funziona decentemente! :D


Grazie a tutti per la segnalazione
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1308
Location: world

PostPosted: Mon Jan 12, 2009 1:08 pm    Post subject: Reply with quote

fbcyborg wrote:
Con questo ebuild scarico il file jdk-6u12-ea-bin-b02-linux-i586-08_dec_2008.bin .

Non è la versione per amd64!

Non o per quale motivo quando l'ho provato io me li chiedeva entrambi (comunque sia anche amd64), allora ho tolto a mano le righe righardanti x86 e via.
Tanto è solo un ebuild temporaneo :P
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Mon Jan 12, 2009 1:41 pm    Post subject: Reply with quote

Ho, capito. In pratica non funziona il blocco condizionale, quindi il blocco di righe interessate dalla modifica sarebbe questo:
Code:
BASE_URL="http://www.java.net/download/jdk6/6u12/promoted/b${BETA}/binaries/"
amd64file="jdk-6u12-ea-bin-b${BETA}-linux-amd64-${DATE}.bin"

S="${WORKDIR}/jdk$(replace_version_separator 3 _ ${MY_PV})"
DESCRIPTION="Sun's Java Development Kit"
HOMEPAGE="https://jdk6.dev.java.net/"
SRC_URI="${BASE_URL}/$amd64file"

Comunque io non riesco a completare l'emerge, non so perché. Eppure ne ho installati tanti di "ebuild esterni".
L'errore è questo:
Code:
 Unable to find the env file: /usr/local/portage/dev-java/sun-jdk/files/sun-jdk-1.6.env


EDIT: risolto scaricando a mano il file sun-jdk-1.6.env da qui.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1308
Location: world

PostPosted: Mon Jan 12, 2009 11:56 pm    Post subject: Reply with quote

io ho copiato lo stesso file presente nella corrispondente dir in /usr/portage
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Tue Jan 13, 2009 5:18 pm    Post subject: Reply with quote

fbcyborg wrote:
Con questo ebuild scarico il file jdk-6u12-ea-bin-b02-linux-i586-08_dec_2008.bin .

Non è la versione per amd64!

Non ho tempo, ma appena posso lo faccio un ebuild per java a 64 bit. Comunque su bugzilla ancora nulla :roll:
_________________
C.
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Tue Jan 13, 2009 6:03 pm    Post subject: Reply with quote

Ok, ma intanto è possibile utilizzare il seguente ebuild!

Code:
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator java-vm-2 eutils pax-utils

MY_PV=${PV/_beta*/}
BETA="0${PV#*_beta}"
DATE="08_dec_2008"

BASE_URL="http://www.java.net/download/jdk6/6u12/promoted/b${BETA}/binaries/"
amd64file="jdk-6u12-ea-bin-b${BETA}-linux-amd64-${DATE}.bin"

S="${WORKDIR}/jdk$(replace_version_separator 3 _ ${MY_PV})"
DESCRIPTION="Sun's Java Development Kit"
HOMEPAGE="https://jdk6.dev.java.net/"
SRC_URI="${BASE_URL}/$amd64file"
SLOT="1.6"
LICENSE="sun-prerelease-jdk6"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip fetch"
IUSE="X alsa doc nsplugin examples"

DEPEND="sys-apps/sed"

RDEPEND="doc? ( =dev-java/java-sdk-docs-1.6.0* )
   alsa? ( media-libs/alsa-lib )
   x86? ( =virtual/libstdc++-3.3 )
   X? (
      x11-libs/libX11
      x11-libs/libXext
      x11-libs/libXi
      x11-libs/libXmu
      x11-libs/libXp
      x11-libs/libXtst
   )
   "

JAVA_PROVIDE="jdbc-stdext jdbc-rowset"

QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/server/libjvm.so
   opt/${P}/jre/lib/i386/client/libjvm.so
   opt/${P}/jre/lib/i386/motif21/libmawt.so
   opt/${P}/jre/lib/i386/libdeploy.so"

pkg_nofetch() {
   einfo "Please download:"
   einfo "${A} from ${BASE_URL}${A}"
   einfo "Then place it in ${DISTDIR}"
   einfo "tip: wget ${BASE_URL}${A} -O ${DISTDIR}/${A}"

   ewarn "By downloading and installing, you are agreeing to the terms"
   ewarn "of Sun's prerelease license."
}

src_unpack() {
   # Do a little voodoo to extract the distfile
   # Find the ELF in the script
   testExp=$(echo -e '\0105\0114\0106')
   startAt=$(grep -aonm 1 ${testExp}  ${DISTDIR}/${A} | cut -d: -f1)
   # Extract and run it
   tail -n +${startAt} "${DISTDIR}"/${A} > install.sfx
   chmod +x install.sfx
   ./install.sfx >/dev/null || die
   rm install.sfx

   local packed_jars="lib/tools.jar jre/lib/rt.jar jre/lib/jsse.jar \
      jre/lib/charsets.jar jre/lib/ext/localedata.jar jre/lib/plugin.jar \
      jre/lib/javaws.jar jre/lib/deploy.jar"

   if [ -f "${S}"/bin/unpack200 ]; then
      UNPACK_CMD=${S}/bin/unpack200
      chmod +x $UNPACK_CMD
      sed -i 's#/tmp/unpack.log#/dev/null\x00\x00\x00\x00\x00\x00#g' $UNPACK_CMD
      for i in $packed_jars; do
         PACK_FILE=${S}/$(dirname $i)/$(basename $i .jar).pack
         if [ -f ${PACK_FILE} ]; then
            echo "   unpacking: $i"
            $UNPACK_CMD ${PACK_FILE} "${S}"/$i
            rm -f ${PACK_FILE}
         fi
      done
      rm -f ${UNPACK_CMD}
   else
      die "unpack not found"
   fi
   # see bug #207282
   if use x86; then
      einfo "Creating the Class Data Sharing archives"
      "${S}"/bin/java -client -Xshare:dump || die
      "${S}"/bin/java -server -Xshare:dump || die
   fi
}

src_install() {
   local dirs="bin include jre lib man"

   # Set PaX markings on all JDK/JRE executables to allow code-generation on
   # the heap by the JIT compiler.
   pax-mark m $(list-paxables "${S}"{,/jre}/bin/*)

   dodir /opt/${P}

   cp -pPR ${dirs} "${D}/opt/${P}/" || die "failed to copy"
   dodoc COPYRIGHT README.html || die
   dohtml README.html || die
   dodir /opt/${P}/share/

   if use examples; then
      cp -pPR demo sample "${D}"/opt/${P}/share/ || die
   fi
   cp -pPR src.zip "${D}"/opt/${P}/ || die

   if use nsplugin; then
      local plugin_dir="ns7-gcc29"
      if has_version '>=sys-devel/gcc-3' ; then
         plugin_dir="ns7"
      fi

      if use x86 ; then
         install_mozilla_plugin /opt/${P}/jre/plugin/i386/$plugin_dir/libjavaplugin_oji.so
         install_mozilla_plugin /opt/${P}/jre/lib/i386/libnpjp2.so plugin2
      else
         install_mozilla_plugin /opt/${P}/jre/lib/amd64/libnpjp2.so
      fi
   fi

   # create dir for system preferences
   dodir /opt/${P}/jre/.systemPrefs
   # Create files used as storage for system preferences.
   touch "${D}"/opt/${P}/jre/.systemPrefs/.system.lock
   chmod 644 "${D}"/opt/${P}/jre/.systemPrefs/.system.lock
   touch "${D}"/opt/${P}/jre/.systemPrefs/.systemRootModFile
   chmod 644 "${D}"/opt/${P}/jre/.systemPrefs/.systemRootModFile

   set_java_env
}

pkg_postinst() {
   # Set as default VM if none exists
   java-vm-2_pkg_postinst

   if use x86 && use nsplugin; then
      elog
      elog "Two variants of the nsplugin are available via eselect java-nsplugin:"
      elog "${VMHANDLE} and ${VMHANDLE}-plugin2 (the Next-Generation Plug-In) "
      ewarn "Note that the ${VMHANDLE}-plugin2 works only in Firefox 3!"
      elog "For more info see https://jdk6.dev.java.net/plugin2/"
      elog
   fi

   if use amd64 && use nsplugin; then
      elog
      elog "This version finally brings a browser plugin for amd64"
      elog "It is the so-called Next-Generation Plug-In (plugin2)"
      elog "Use eselect java-nsplugin to select it (${VMHANDLE})."
      ewarn "Note that it works only in Firefox 3 or newer browsers!"
      elog "For more info see https://jdk6.dev.java.net/plugin2/"
      elog
   fi

   if ! use X; then
      local xwarn="virtual/x11 and/or"
   fi

   echo
   ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed."
   ewarn "Be careful which Java libraries you attempt to use."

   echo
   einfo " Be careful: ${P}'s Java compiler uses"
   einfo " '-source 1.6' as default. This means that some keywords "
   einfo " such as 'enum' are not valid identifiers any more in that mode,"
   einfo " which can cause incompatibility with certain sources."
   einfo " Additionally, some API changes may cause some breakages."
   echo
   elog "Beginning with 1.5.0.10 the hotspot vm can use epoll"
   elog "The epoll-based implementation of SelectorProvider is not selected by"
   elog "default."
   elog "Use java -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.EPollSelectorProvider"
   elog ""
}

_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Tue Jan 13, 2009 6:45 pm    Post subject: Reply with quote

oRDeX wrote:
io ho copiato lo stesso file presente nella corrispondente dir in /usr/portage


così, però, al prossimo sync quell'ebuild verrà rimosso..
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Tue Jan 13, 2009 6:52 pm    Post subject: Reply with quote

No, perché verrà rimosso? 8O
Mi sfugge qualcosa?

Alla fine perché il prossimo sync dovrebbe cancellarmi il contenuto della dir /usr/local/portage/dev-java/sun-jdk/files/ ?
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1308
Location: world

PostPosted: Tue Jan 13, 2009 8:30 pm    Post subject: Reply with quote

MajinJoko wrote:
oRDeX wrote:
io ho copiato lo stesso file presente nella corrispondente dir in /usr/portage


così, però, al prossimo sync quell'ebuild verrà rimosso..


no scusa, mi sono espresso male. Intendevo dire che ho copiato il file .env da /usr/portage/.. a /usr/local/portage/..
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Tue Jan 13, 2009 8:36 pm    Post subject: Reply with quote

Ok, allora così funziona :D

@ fbcyborg
Parlavo con oRDeX :wink:
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1415
Location: <ud|me|ts> - Italy

PostPosted: Fri Feb 13, 2009 9:45 am    Post subject: Reply with quote

un sogno!
Code:
[I] dev-java/sun-jdk
     Available versions: 
   (1.4)   *1.4.2.19!f!s
   (1.5)   1.5.0.17!s
   (1.6)   1.6.0.11!s (~)1.6.0.12!s
   {X alsa doc examples jce nsplugin odbc}
     Installed versions:  1.6.0.12(1.6)!s(16:51:14 02/12/09)(X alsa nsplugin -doc -examples -jce -odbc)
     Homepage:            http://java.sun.com/javase/6/
     Description:         Sun's J2SE Development Kit, version 1.6.0.12

è un pò che non provavo, il plugin per firefox di java a 64bit è tra noi! mi funziona senza problemi scacchisti.it! ;-)
_________________
LP
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Fri Feb 13, 2009 1:21 pm    Post subject: Reply with quote

Yeah, finalmente! 8)

Io ho provato con l'interfaccia di caricamento delle foto su Facebook, e va alla perfezione.

Ora mi basta che arrivi la versione "stabile" del plugin di Flash (attualmente sto provando la 10.0.21.1_alpha, ma mi fa andare in crash Firefox 2 volte su 3 :( ), e poi sarò felice! :D
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1415
Location: <ud|me|ts> - Italy

PostPosted: Thu Feb 19, 2009 4:03 pm    Post subject: Reply with quote

da ieri sera ho nuovamente qualche problemino: java suck!
Code:

jarod:~
#> eix -e sun-jdk ; eix -e mozilla-firefox
[I] dev-java/sun-jdk
     Available versions: 
   (1.4)   *1.4.2.19!f!s
   (1.5)   1.5.0.17!s
   (1.6)   1.6.0.11!s (~)1.6.0.12!s
   {X alsa doc examples jce nsplugin odbc}
     Installed versions:  1.6.0.12(1.6)!s(16:58:37 02/19/09)(X alsa nsplugin -doc -examples -jce -odbc)
     Homepage:            http://java.sun.com/javase/6/
     Description:         Sun's J2SE Development Kit, version 1.6.0.12

[I] www-client/mozilla-firefox
     Available versions:  2.0.0.19 3.0.6 {bindist custom-optimization dbus debug filepicker gnome iceweasel ipv6 java linguas_af linguas_ar linguas_be linguas_bg linguas_bn linguas_bn_IN linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_el linguas_en linguas_en_GB linguas_en_US linguas_eo linguas_es linguas_es_AR linguas_es_ES linguas_et linguas_eu linguas_fi linguas_fr linguas_fy linguas_fy_NL linguas_ga linguas_ga_IE linguas_gl linguas_gu linguas_gu_IN linguas_he linguas_hi linguas_hi_IN linguas_hu linguas_id linguas_is linguas_it linguas_ja linguas_ka linguas_kn linguas_ko linguas_ku linguas_lt linguas_lv linguas_mk linguas_mn linguas_mr linguas_nb linguas_nb_NO linguas_nl linguas_nn linguas_nn_NO linguas_oc linguas_pa linguas_pa_IN linguas_pl linguas_pt linguas_pt_BR linguas_pt_PT linguas_ro linguas_ru linguas_si linguas_sk linguas_sl linguas_sq linguas_sr linguas_sv linguas_sv_SE linguas_te linguas_th linguas_tr linguas_uk linguas_zh linguas_zh_CN linguas_zh_TW mozdevelop moznopango restrict-javascript startup-notification xforms xinerama xprint xulrunner}
     Installed versions:  3.0.6(19:46:22 02/17/09)(java linguas_en xulrunner -bindist -custom-optimization -dbus -gnome -iceweasel -ipv6 -linguas_af -linguas_ar -linguas_be -linguas_bg -linguas_bn -linguas_bn_IN -linguas_ca -linguas_cs -linguas_cy -linguas_da -linguas_de -linguas_el -linguas_en_GB -linguas_en_US -linguas_eo -linguas_es -linguas_es_AR -linguas_es_ES -linguas_et -linguas_eu -linguas_fi -linguas_fr -linguas_fy -linguas_fy_NL -linguas_ga -linguas_ga_IE -linguas_gl -linguas_gu -linguas_gu_IN -linguas_he -linguas_hi -linguas_hi_IN -linguas_hu -linguas_id -linguas_is -linguas_it -linguas_ja -linguas_ka -linguas_kn -linguas_ko -linguas_ku -linguas_lt -linguas_lv -linguas_mk -linguas_mn -linguas_mr -linguas_nb -linguas_nb_NO -linguas_nl -linguas_nn -linguas_nn_NO -linguas_oc -linguas_pa -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_pt_PT -linguas_ro -linguas_ru -linguas_si -linguas_sk -linguas_sl -linguas_sq -linguas_sr -linguas_sv -linguas_sv_SE -linguas_te -linguas_th -linguas_tr -linguas_uk -linguas_zh -linguas_zh_CN -linguas_zh_TW -mozdevelop -restrict-javascript -startup-notification)
     Homepage:            http://www.mozilla.com/firefox
     Description:         Firefox Web Browser


jarod:~
#> uname -a
Linux jarod 2.6.27-gentoo-r8 #8 SMP Mon Feb 16 14:41:40 CET 2009 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-50 AuthenticAMD GNU/Linux


a qualcuno funge correttamente il plugin per firefox64?
_________________
LP
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Thu Feb 19, 2009 5:45 pm    Post subject: Reply with quote

Sì, a me funziona perfettamente!!!
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1415
Location: <ud|me|ts> - Italy

PostPosted: Thu Feb 19, 2009 5:50 pm    Post subject: Reply with quote

con le mie stesse versioni dei programmi?
_________________
LP
Back to top
View user's profile Send private message
fbcyborg
Advocate
Advocate


Joined: 16 Oct 2005
Posts: 3056
Location: ROMA

PostPosted: Thu Feb 19, 2009 6:03 pm    Post subject: Reply with quote

Ah no! Aspetta...

Scusami. Di java ho la versione 1.6.0.12_beta2.
_________________
[HOWTO] Come criptare la /home usando cryptsetup e luks
[HOWTO] Abilitare il supporto al dom0 XEN su kernel 3.X
Help answer the unanswered
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1308
Location: world

PostPosted: Mon Feb 23, 2009 10:36 am    Post subject: Reply with quote

lucapost wrote:
con le mie stesse versioni dei programmi?


Si, qui funziona tutto. Puoi dirci qualcosa in piu` del malfunzionamento??
ciauz
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1415
Location: <ud|me|ts> - Italy

PostPosted: Mon Feb 23, 2009 12:43 pm    Post subject: Reply with quote

Se faccio il test java qui, mi dice che non è installato, se apro http://scacchisti.it/game.php ho una schermata bianca. Ma se faccio nel browser about:plugins il plugin è riconosciuto! 8O
Boh!?!?
_________________
LP
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1308
Location: world

PostPosted: Mon Feb 23, 2009 2:06 pm    Post subject: Reply with quote

strano :| ho provato i due link e qui funziona tutto. provato a lanciare mozilla da terminale ed a leggerne l'output?
ciauz
Back to top
View user's profile Send private message
mattylux
Apprentice
Apprentice


Joined: 19 Jul 2008
Posts: 240
Location: bologna

PostPosted: Mon Feb 23, 2009 3:25 pm    Post subject: Reply with quote

quando arrivi nella schermata bianca http://scacchisti.it/game.php clicca nel lucchetto sulla sinistra del paggina bianca vedi che si apre il sito degli scacchi e ti chiede la registrazzione almeno ha me ha fatto cosi
ciao
_________________
persempre gentoo
il mio progetto in fase di lavoro
Http://stradedicarta.netsons.org
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1308
Location: world

PostPosted: Thu Feb 26, 2009 7:32 am    Post subject: Reply with quote

Sicuramente è un pò OT, ma visto che se n'è parlato nel thread, volevo finalmente dirvi che in portage è stata introdotta una versione non alpha di flash per firefox a 64bit :D :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum