View previous topic :: View next topic |
Author |
Message |
ferroilpinguino Apprentice


Joined: 26 Feb 2005 Posts: 272
|
Posted: Sat Apr 23, 2005 10:52 am Post subject: variabili di ambiente-java[risolto] |
|
|
ciao sto cercando di installare java .............
non è come le altre distro che bisogna settare il PATH............ho aperto .bashrc e .bash_profile..........ma sono un po' diversi da come me li aspettavo...........
ho guardato la guida http://www.gentoo.it/doc/java.html ma quando eseguo:
Code: | java-config --set-system-vm=blackdown-jre-1.4.2.01
javac not found at /opt/blackdown-jre-1.4.2.01/bin/javac or /opt/blackdown-jre-1.4.2.01/jre/bin/javac
javadoc not found at /opt/blackdown-jre-1.4.2.01/bin/javadoc or /opt/blackdown-jre-1.4.2.01/jre/bin/javadoc
jar not found at /opt/blackdown-jre-1.4.2.01/bin/jar or /opt/blackdown-jre-1.4.2.01/jre/bin/jar
rmic not found at /opt/blackdown-jre-1.4.2.01/bin/rmic or /opt/blackdown-jre-1.4.2.01/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"
pinguserver andrea # |
ecco cosa mi dice............
volevo installare la jvm(jre).......
grazie
Last edited by ferroilpinguino on Sun Apr 24, 2005 3:04 pm; edited 1 time in total |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
|
Back to top |
|
 |
lopio Veteran


Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sat Apr 23, 2005 10:59 am Post subject: Re: variabili di ambiente-java |
|
|
ferroilpinguino wrote: | ciao sto cercando di installare java .............
non è come le altre distro che bisogna settare il PATH............ho aperto .bashrc e .bash_profile..........ma sono un po' diversi da come me li aspettavo...........
ho guardato la guida http://www.gentoo.it/doc/java.html ma quando eseguo:
java-config --set-system-vm=blackdown-jre-1.4.2.01
javac not found at /opt/blackdown-jre-1.4.2.01/bin/javac or /opt/blackdown-jre-1.4.2.01/jre/bin/javac
|
Ma cosa c'e' sotto /opt/blackdown-jre-1.4.2.01/ ? ci sono i bnari?
Cosa dice java-config -L |
|
Back to top |
|
 |
ferroilpinguino Apprentice


Joined: 26 Feb 2005 Posts: 272
|
Posted: Sat Apr 23, 2005 11:53 am Post subject: |
|
|
pinguserver andrea # java-config --set-system-vm=blackboard-jre-1.4.2.01
jc_options: VM not found, use --list-available-vms
pinguserver andrea #
come faccio ad installare la java virtual machine??
la jre el le jdk le ho installate con emerge............. |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
Posted: Sat Apr 23, 2005 11:55 am Post subject: |
|
|
Posta un
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
ferroilpinguino Apprentice


Joined: 26 Feb 2005 Posts: 272
|
Posted: Sat Apr 23, 2005 1:38 pm Post subject: |
|
|
pinguserver andrea # java-config -L
[blackdown-jre-1.4.2.01] "Blackdown JRE 1.4.2.01" (/etc/env.d/java/20blackdown-jre-1.4.2.01)
[blackdown-jdk-1.4.2.01] "Blackdown JDK 1.4.2.01" (/etc/env.d/java/20blackdown-jdk-1.4.2.01) *
pinguserver andrea # |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
Posted: Sat Apr 23, 2005 2:33 pm Post subject: |
|
|
Dai un
Code: | # java-config --set-system-vm=blackdown-jre-1.4.2.01 |
tu hai scritto blackboard-jre-1.4.2.01 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Apr 23, 2005 2:49 pm Post subject: |
|
|
fedeliallalinea wrote: |
tu hai scritto blackboard-jre-1.4.2.01 |
LOL _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
ferroilpinguino Apprentice


Joined: 26 Feb 2005 Posts: 272
|
Posted: Sat Apr 23, 2005 5:23 pm Post subject: |
|
|
gutter wrote: | fedeliallalinea wrote: |
tu hai scritto blackboard-jre-1.4.2.01 |
LOL |
Code: |
bash-2.05b# java-config --set-system-vm=blackdown-jre-1.4.2.01
javac not found at /opt/blackdown-jre-1.4.2.01/bin/javac or /opt/blackdown-jre-1.4.2.01/jre/bin/javac
javadoc not found at /opt/blackdown-jre-1.4.2.01/bin/javadoc or /opt/blackdown-jre-1.4.2.01/jre/bin/javadoc
jar not found at /opt/blackdown-jre-1.4.2.01/bin/jar or /opt/blackdown-jre-1.4.2.01/jre/bin/jar
rmic not found at /opt/blackdown-jre-1.4.2.01/bin/rmic or /opt/blackdown-jre-1.4.2.01/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"
bash-2.05b#
|
eccoi cosa mi dice........... |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Apr 23, 2005 8:03 pm Post subject: |
|
|
Non ho capito una cosa: ma a te serve un ambiente di runtime o devi anche compilare codice java?
Il messaggio precedente ti informa proprio del fatto che non hai un compilatore java ma solo l'ambiente di runtime. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
ferroilpinguino Apprentice


Joined: 26 Feb 2005 Posts: 272
|
Posted: Sun Apr 24, 2005 9:15 am Post subject: |
|
|
a me servirebbero tutti e due........solo che non riesco a far andare ne l'uno ne l'altro |
|
Back to top |
|
 |
.:chrome:. Advocate


Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sun Apr 24, 2005 11:38 am Post subject: |
|
|
ferroilpinguino wrote: | a me servirebbero tutti e due........solo che non riesco a far andare ne l'uno ne l'altro |
elimina tutto e reinstalla. devi avere pasticciato un po' troppo con le configurazioni. a questo punto la cosa più comoda è buttare via tutte le tue configurazioni e rifare da capo.
fai un Code: | emerge dev-java/blackdown-jdk --unmerge | e poi ancora Code: | emerge dev-java/blackdown-jdk | .
mi raccomando, non fare la vaccata che fanno tutti: installare jdk e jre insieme. il jdk include (ovviamente) un jre. se oltre al jdk installi anche un altro jre, è poi ovvio che qualcosa va storto  |
|
Back to top |
|
 |
ferroilpinguino Apprentice


Joined: 26 Feb 2005 Posts: 272
|
Posted: Sun Apr 24, 2005 3:00 pm Post subject: |
|
|
k.gothmog wrote: | ferroilpinguino wrote: | a me servirebbero tutti e due........solo che non riesco a far andare ne l'uno ne l'altro |
elimina tutto e reinstalla. devi avere pasticciato un po' troppo con le configurazioni. a questo punto la cosa più comoda è buttare via tutte le tue configurazioni e rifare da capo.
fai un Code: | emerge dev-java/blackdown-jdk --unmerge | e poi ancora Code: | emerge dev-java/blackdown-jdk | .
mi raccomando, non fare la vaccata che fanno tutti: installare jdk e jre insieme. il jdk include (ovviamente) un jre. se oltre al jdk installi anche un altro jre, è poi ovvio che qualcosa va storto  |
Code: |
* enviroment gets updated.
*
* Or use java-config program to set your preferred VM
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
>>> dev-java/blackdown-jdk-1.4.2.01-r2 merged.
>>> Recording dev-java/blackdown-jdk 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.
* IMPORTANT: 2 config files in /etc need updating.
* Type emerge --help config to learn how to update config files. |
fatto
ecco cosa mi dice dopo che l'ho emerso /usr/sbin/env-update && source /etc/profile segnalato in rosso.............
Edit gutter: Per favore usiamo i bbcode |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
Posted: Sun Apr 24, 2005 3:01 pm Post subject: |
|
|
ferroilpinguino wrote: | ecco cosa mi dice dopo che l'ho emerso /usr/sbin/env-update && source /etc/profile segnalato in rosso............. |
Giusto devi lanciare quel comando _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
|