Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error: no acceptable jar program found in $PATH [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
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Fri Aug 22, 2003 9:34 am    Post subject: error: no acceptable jar program found in $PATH [risolto] Reply with quote

Ciao GENTOOAGLIA mi trovavo nell'aggiornare il mio systema...quando mi trovo di fronte questo messaggio di errore .. cosa sarà mai ??

checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking SOSUFFIX from libtool... so
checking MODSUFFIX from libtool... so
checking JMODSUFFIX from libtool... so
checking for javac... no
checking for gcj... gcj -C
checking if gcj -C works... yes
checking for jar... no
configure: error: no acceptable jar program found in $PATH

!!! ERROR: sys-libs/db-4.1.25 failed.
!!! Function src_compile, Line 45, Exitcode 1
!!! (no error message)

dopo aver cominciato nel suo configure esce questo errore !!
il JAR cos'è ?? ho provato anche a cambiare ebuild ma il risultato è lo stesso..
ciao


Last edited by bubble27 on Fri Aug 22, 2003 2:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Fri Aug 22, 2003 10:21 am    Post subject: Reply with quote

Il jar (Java ARchive) fa parte del pacchetto java e serve a comprimere librerie di classi JAVA (credo).

Forse non hai installato nessun pacchetto java (sun o blackdown).
Prova a:

1) installare blackdown-jdk
Code:
# emerge blackdown-jdk


Se tutto va bene in /opt/blackdown-jdk.../bin/ dovresti avere il comando jar.

2) dire a gentoo di usare blackdown:
Code:
# /usr/bin/java-config --set-system-vm=blackdown-jdk-1.4.1


3) assicurati che in /ect/env.d/20java ci sia una riga del tipo
Code:
PATH=/opt/blackdown-jdk-1.4.1/bin


4) alla fine
Code:
# env-update
# source /etc/profile


Quindi riprovare a dare emerge db

Mammamia che slungagnata..... 8O

Ciauz
morellik
Back to top
View user's profile Send private message
_Echelon_
Apprentice
Apprentice


Joined: 20 Jul 2003
Posts: 293

PostPosted: Fri Aug 22, 2003 10:31 am    Post subject: Reply with quote

senti tu che sai bene java (suppongo) o comunque l'installazione. Avrei un problema.
Io uso Net Beans. Ho dei packages che vorrei usare nei miei programmi. Il problema però è che non riesco a dargli la classpath. Con netbeans mi funziona solo se piazzo i sorgenti sul desktop.
Mentre se compilo con javac mi dice NoDefClassFound (o simile).
Un aiuto ?
_________________
Did you know that if you play a Windows 2000 cd backwards, you will hear the voice of Satan?
That's nothing! If you play it forward, it'll install Windows 2000.
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Fri Aug 22, 2003 10:51 am    Post subject: Reply with quote

Mi dispiace deluderti ma di java conosco solo poche cose.
Ho provato a programmarci qualche volta ma non fa proprio per me
(per cosucce che richiedono java sono passato al buon jython :D).

Usavo poi come ide il JBuilder della Borland il quale da qualche parte
permetteva di settare i path dei vari class file.

Non c'e' anche una variabile CLASSPATH dove poter settare tutte le directory nelle quali ricercare le classi?

morellik
Back to top
View user's profile Send private message
_Echelon_
Apprentice
Apprentice


Joined: 20 Jul 2003
Posts: 293

PostPosted: Fri Aug 22, 2003 10:59 am    Post subject: Reply with quote

purtroppo non trovo nulla di simile.. :(
Grazie lo stesso !
_________________
Did you know that if you play a Windows 2000 cd backwards, you will hear the voice of Satan?
That's nothing! If you play it forward, it'll install Windows 2000.
Back to top
View user's profile Send private message
morellik
l33t
l33t


Joined: 03 Feb 2003
Posts: 629
Location: Firenze

PostPosted: Fri Aug 22, 2003 11:04 am    Post subject: Reply with quote

La variabile CLASSPATH e' comunque una variabile di sistema che
viene settata di default in /etc/env.d/20java e che puoi aggiornare
quando vuoi.
Back to top
View user's profile Send private message
_Echelon_
Apprentice
Apprentice


Joined: 20 Jul 2003
Posts: 293

PostPosted: Fri Aug 22, 2003 11:24 am    Post subject: Reply with quote

ecco. infatti non la trovavo :) grazie !
_________________
Did you know that if you play a Windows 2000 cd backwards, you will hear the voice of Satan?
That's nothing! If you play it forward, it'll install Windows 2000.
Back to top
View user's profile Send private message
bubble27
Guru
Guru


Joined: 07 Aug 2003
Posts: 365
Location: Campobasso

PostPosted: Fri Aug 22, 2003 1:37 pm    Post subject: Reply with quote

grazie morellik sembra essere andato !!!!

da cosa dipendeva ??? dalla configurazione di java ??
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30923
Location: here

PostPosted: Fri Aug 22, 2003 2:08 pm    Post subject: Reply with quote

bubble27 wrote:
grazie morellik sembra essere andato !!!!

da cosa dipendeva ??? dalla configurazione di java ??

Dal fatto che scomprimere un jar (checking for jar... no) hai bisogno di una classe java. Tu non avevi
una java e quindi era impossibile per quel programma scompattare un pacchetto.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sat Aug 23, 2003 8:00 am    Post subject: Reply with quote

O anche da questo bug, nel caso avessi aggiornato java.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
nglrossi
n00b
n00b


Joined: 26 Apr 2003
Posts: 25
Location: Ireland/Italy

PostPosted: Sat Aug 23, 2003 2:46 pm    Post subject: Non ho neanche dovuto aprire un nuovo thread.. Reply with quote

grazie a una ricerca nel forum e a questa riga di morellik

# /usr/bin/java-config --set-system-vm=blackdown-jdk-1.4.1

ho risolto anch'io...

Grazie ;)
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