Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
variabili di ambiente-java[risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ferroilpinguino
Apprentice
Apprentice


Joined: 26 Feb 2005
Posts: 272

PostPosted: Sat Apr 23, 2005 10:52 am    Post subject: variabili di ambiente-java[risolto] Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31453
Location: here

PostPosted: Sat Apr 23, 2005 10:59 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-280235-highlight-system+sufficient+required+binaries.html
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Sat Apr 23, 2005 10:59 am    Post subject: Re: variabili di ambiente-java Reply with quote

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
View user's profile Send private message
ferroilpinguino
Apprentice
Apprentice


Joined: 26 Feb 2005
Posts: 272

PostPosted: Sat Apr 23, 2005 11:53 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31453
Location: here

PostPosted: Sat Apr 23, 2005 11:55 am    Post subject: Reply with quote

Posta un
Code:
# java-config -L

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ferroilpinguino
Apprentice
Apprentice


Joined: 26 Feb 2005
Posts: 272

PostPosted: Sat Apr 23, 2005 1:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31453
Location: here

PostPosted: Sat Apr 23, 2005 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Apr 23, 2005 2:49 pm    Post subject: Reply with quote

fedeliallalinea wrote:

tu hai scritto blackboard-jre-1.4.2.01


LOL
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
ferroilpinguino
Apprentice
Apprentice


Joined: 26 Feb 2005
Posts: 272

PostPosted: Sat Apr 23, 2005 5:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Apr 23, 2005 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
ferroilpinguino
Apprentice
Apprentice


Joined: 26 Feb 2005
Posts: 272

PostPosted: Sun Apr 24, 2005 9:15 am    Post subject: Reply with quote

a me servirebbero tutti e due........solo che non riesco a far andare ne l'uno ne l'altro
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sun Apr 24, 2005 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
ferroilpinguino
Apprentice
Apprentice


Joined: 26 Feb 2005
Posts: 272

PostPosted: Sun Apr 24, 2005 3:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31453
Location: here

PostPosted: Sun Apr 24, 2005 3:01 pm    Post subject: Reply with quote

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
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
Page 1 of 1

 
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