View previous topic :: View next topic |
Author |
Message |
jlord87 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Cars/7.gif)
Joined: 24 Jan 2006 Posts: 56 Location: padova
|
Posted: Wed Apr 26, 2006 8:32 pm Post subject: [RISOLTO] problemi con java...aiuto! |
|
|
...premetto che ho praticamente imparato a memoria la guida gentoo su java e tutte le discussioni aperte...
quello che sto cercando è semplicemente la possibilità di vedere pagine web che abbiano dei contenuti java..
prim di tutto ho ritenuto opportuno dotarmi di un browser
Code: | USE="java" emerge mozilla-firefox |
poi ho fatt un
Code: | USE="java" emerge mozilla-firefox |
e mi ha dato questo come output:
Code: | --- !empty dir /opt/blackdown-jre-1.4.2.03/lib/i386/native_threads
--- !empty dir /opt/blackdown-jre-1.4.2.03/lib/i386/client
--- !empty dir /opt/blackdown-jre-1.4.2.03/lib/i386
--- !empty dir /opt/blackdown-jre-1.4.2.03/lib/fonts
--- !empty dir /opt/blackdown-jre-1.4.2.03/lib/ext
--- !empty dir /opt/blackdown-jre-1.4.2.03/lib/cmm
--- !empty dir /opt/blackdown-jre-1.4.2.03/lib/audio
--- !empty dir /opt/blackdown-jre-1.4.2.03/lib
--- !empty dir /opt/blackdown-jre-1.4.2.03/bin
--- !empty dir /opt/blackdown-jre-1.4.2.03
--- !empty dir /opt
--- !empty dir /etc/env.d/java
--- !empty dir /etc
--- !targe sym /opt/blackdown-jre-1.4.2.03/man/ja
--- !targe sym /opt/blackdown-jre-1.4.2.03/lib/i386/server/libjsig.so
--- !targe sym /opt/blackdown-jre-1.4.2.03/lib/i386/client/libjsig.so
>>> original instance of package unmerged safely.
* Found no JDK, setting blackdown-jre-1.4.2.03 as default system VM
javac not found at /opt/blackdown-jre-1.4.2.03/bin/javac or /opt/blackdown-jre-1.4.2.03/jre/bin/javac
javadoc not found at /opt/blackdown-jre-1.4.2.03/bin/javadoc or /opt/blackdown-jre-1.4.2.03/jre/bin/javadoc
jar not found at /opt/blackdown-jre-1.4.2.03/bin/jar or /opt/blackdown-jre-1.4.2.03/jre/bin/jar
rmic not found at /opt/blackdown-jre-1.4.2.03/bin/rmic or /opt/blackdown-jre-1.4.2.03/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
>>> Regenerating /etc/ld.so.cache...
* After installing blackdown-jre-1.4.2.03 this
* was set as the default JVM to run.
* When finished please run the following so your
* enviroment gets updated.
* /usr/sbin/env-update && source /etc/profile
* Or use java-config program to set your preferred VM
>>> Regenerating /etc/ld.so.cache...
>>> dev-java/blackdown-jre-1.4.2.03 merged.
>>> Recording dev-java/blackdown-jre in "world" favorites file...
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
|
gli ho poi chiesto:
Code: | # java-config --list-available-vms
[blackdown-jre-1.4.2.03] "Blackdown JRE 1.4.2.03" (/etc/env.d/java/20blackdown-jre-1.4.2.03) * |
e...inaspettato (per me per lo meno) ecco l'errore:
Code: | # java-config --set-system-vm blackdown-jre-1.4.2.03
javac not found at /opt/blackdown-jre-1.4.2.03/bin/javac or /opt/blackdown-jre-1.4.2.03/jre/bin/javac
javadoc not found at /opt/blackdown-jre-1.4.2.03/bin/javadoc or /opt/blackdown-jre-1.4.2.03/jre/bin/javadoc
jar not found at /opt/blackdown-jre-1.4.2.03/bin/jar or /opt/blackdown-jre-1.4.2.03/jre/bin/jar
rmic not found at /opt/blackdown-jre-1.4.2.03/bin/rmic or /opt/blackdown-jre-1.4.2.03/jre/bin/rmic
THIS SYSTEM VM IS NOT SUFFICIENT, REQUIRED BINARIES WERE NOT FOUND
System Virtual Machine set
You may want to update your enviroment by running:
"/usr/sbin/env-update && source /etc/profile"
|
ho provato a fare l'update che consigliavano ma niente..
cosa mi consigliate???
Last edited by jlord87 on Thu Apr 27, 2006 12:27 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Wed Apr 26, 2006 9:30 pm Post subject: Re: problemi con java...aiuto! |
|
|
jlord87 wrote: | cosa mi consigliate??? |
A occhio potrebbe essere un bug di java-config, dato che per impostare la vm non dovrebbe necessitare di javac.
Non capisco, se hai una sola vm, che bisogno hai di fare java-config? _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Scen Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/13649464064b974bf2b19cc.jpg)
Joined: 29 Jul 2003 Posts: 2470 Location: Padova, Italy
|
Posted: Thu Apr 27, 2006 9:08 am Post subject: Re: problemi con java...aiuto! |
|
|
jlord87 wrote: |
quello che sto cercando è semplicemente la possibilità di vedere pagine web che abbiano dei contenuti java..
prim di tutto ho ritenuto opportuno dotarmi di un browser
Code: | USE="java" emerge mozilla-firefox |
poi ho fatt un
Code: | USE="java" emerge mozilla-firefox |
|
Un appunto : la sinstassi che hai utilizzato tu è deprecata, utilizza invece /etc/portage/package.use! _________________ 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 |
|
![](templates/gentoo/images/spacer.gif) |
jlord87 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Cars/7.gif)
Joined: 24 Jan 2006 Posts: 56 Location: padova
|
Posted: Thu Apr 27, 2006 11:51 am Post subject: |
|
|
Quote: | Un appunto : la sinstassi che hai utilizzato tu è deprecata, utilizza invece /etc/portage/package.use! |
perdonami ma non capisco...
quote]Non capisco, se hai una sola vm, che bisogno hai di fare java-config?[/quote]
perchè in teoria avevo provato ad installare prima java della sun (sun-jre-bin) solo che evidentemente ho fallito miseramente visto che mi elenca solo blackdown-jre-1.4.2.03...
...ma allora perchè non riesco a visualizzare pagine web con java???? ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Ic3M4n Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/108089865444d4c570e38bb.gif)
Joined: 02 Nov 2004 Posts: 3489 Location: Bergamo.
|
Posted: Thu Apr 27, 2006 12:15 pm Post subject: |
|
|
con che use hai installato le blackdown? hai messo nsplugin?
da quello che hai scritto prima non si capisce.
per utilizzare la sun-jdk devi fare il fetch manualmente dal sito della sun come specificato nell'ebuild e comunque la flag nsplugin deve essere attiva, altrimenti non avrai mai il plugin per i browser web. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jlord87 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Cars/7.gif)
Joined: 24 Jan 2006 Posts: 56 Location: padova
|
Posted: Thu Apr 27, 2006 12:20 pm Post subject: |
|
|
ho risolto...
ebbene sì...sono un idiota!! avevo sbagliato a linkare il plugin nella cartella di firefox...
iniziate pure con gli insulti...
prima di chiudere un ultimo consiglio...se volessi installare il jre della sun lo devo scaricare manualmente e inserire in /usr/portage/distfiles e poi??
GRAZIE!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Luca89 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/15529267248502dd4c2bab.jpg)
Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Thu Apr 27, 2006 12:22 pm Post subject: |
|
|
jlord87 wrote: | ebbene sì...sono un idiota!! avevo sbagliato a linkare il plugin nella cartella di firefox...
|
Se usi la flag use nsplugin non devi linkare nulla.
Quote: | prima di chiudere un ultimo consiglio...se volessi installare il jre della sun lo devo scaricare manualmente e inserire in /usr/portage/distfiles e poi?? |
Mi pare ovvio, te lo dice pure emerge quando tenti di installare il programma. _________________ Running Fast! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jlord87 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Cars/7.gif)
Joined: 24 Jan 2006 Posts: 56 Location: padova
|
Posted: Thu Apr 27, 2006 12:27 pm Post subject: |
|
|
ok...grazie a tutti e scusate ancora! ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|