Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [java] classpath
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
TankJr.
* Giulia Sprint GTA *

User info:
Registered: Nov 2002
Posts: 857 (0.11 al dì)
Location: Gallarate
Corso: Former TICom
Anno:
Time Online: 27 Days, 4:28:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[java] classpath

come faccio a impostare la var CLASSPATH in modo che mi veda una directory e tutte le sue sottodirectories?

mi spiego:

io metto in /etc/profile
export CLASSPATH=".../home/pippo/java"

così mi vede tutte le classi in /home/pippo/java, ma non le classi in /home/pippo/java/prova

come posso evitare di dover concatenare ogni sottodirectory al CLASSPATH?

18-11-2004 14:20
Click Here to See the Profile for TankJr. Click here to Send TankJr. a Private Message Find more posts by TankJr. Add TankJr. to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
KarmaKOMA
-- Antani plus --

User info:
Registered: May 2003
Posts: 3643 (0.46 al dì)
Location: MILANO UND MUNCHEN (CENTER)
Corso: -- Ma_Stic@zzi?? --
Anno: Degree of Digital Com.
Time Online: 10 Days, 1:25:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Devi scrivere pippo sulla tavolozza del cesso di casa e poi pregare a bill gates....

__________________
"SeQuAlCoSaMiVaStOrToLoRaDdRiZzOaCaLcIiNcUlo".
**************************************
“Datemi il controllo sul denaro di una nazione e non mi preoccuperò di chi ne fa le leggi”. [Barone M.A. Rothschild]

"Life isn't like a bowl of cherries or peaches, it's more like a jar of Jalapenos: what you do today, might burn your ass tomorrow...!?! "

18-11-2004 14:30
Click Here to See the Profile for KarmaKOMA Click Here to See the Blog of KarmaKOMA Click here to Send KarmaKOMA a Private Message Visit KarmaKOMA's homepage! Find more posts by KarmaKOMA Add KarmaKOMA to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
0m4r
.grande:maestro.

User info:
Registered: Mar 2002
Posts: 7287 (0.87 al dì)
Location: Düsseldorf (DE)
Corso:
Anno: ESAMI FINITI
Time Online: 49 Days, 0:42:50 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io non credo che sia possibile fare quello che dici.
Perchè, pensandosi un attimo ho ipotizzato che a questo punto basterebbe inserire nel classpath la root del sistema (qualcosa tipo c:\ per win e qualcosa tipo / per Linux), ma a questo punto non avrebbe più nemmeno senso l'utilizzo stesso di CLASSPATH.

cmq puoi dare un occhiata qui oppure qua

__________________
http://www.twitter.com/0m4r

Last edited by 0m4r on 18-11-2004 at 16:32

18-11-2004 16:26
Click Here to See the Profile for 0m4r Click Here to See the Blog of 0m4r Click here to Send 0m4r a Private Message Find more posts by 0m4r Add 0m4r to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Bloody
ex universitaria

User info:
Registered: Jan 2003
Posts: 1939 (0.24 al dì)
Location: milano trasferta
Corso: informatica
Anno: dottora :)
Time Online: 49 Days, 2:18:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

forse devi considerare le classi inserite nelle sottocartelle come appartenenti ad un package la cui directory principale e' prova, aggiungendo la riga di codice all'inizio del sorgente dove si specifica il percorso
package prova.<eventuale_sottocartella>

oppure, guarda qua verso la fine dove si parla di package :)

__________________
I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

Last edited by Bloody on 18-11-2004 at 17:28

18-11-2004 17:04
Click Here to See the Profile for Bloody Click Here to See the Blog of Bloody Click here to Send Bloody a Private Message Find more posts by Bloody Add Bloody to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
KarmaKOMA
-- Antani plus --

User info:
Registered: May 2003
Posts: 3643 (0.46 al dì)
Location: MILANO UND MUNCHEN (CENTER)
Corso: -- Ma_Stic@zzi?? --
Anno: Degree of Digital Com.
Time Online: 10 Days, 1:25:31 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

forse scolpendo il bide' a forma di venere del botticelli...

__________________
"SeQuAlCoSaMiVaStOrToLoRaDdRiZzOaCaLcIiNcUlo".
**************************************
“Datemi il controllo sul denaro di una nazione e non mi preoccuperò di chi ne fa le leggi”. [Barone M.A. Rothschild]

"Life isn't like a bowl of cherries or peaches, it's more like a jar of Jalapenos: what you do today, might burn your ass tomorrow...!?! "

19-11-2004 16:23
Click Here to See the Profile for KarmaKOMA Click Here to See the Blog of KarmaKOMA Click here to Send KarmaKOMA a Private Message Visit KarmaKOMA's homepage! Find more posts by KarmaKOMA Add KarmaKOMA to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
TankJr.
* Giulia Sprint GTA *

User info:
Registered: Nov 2002
Posts: 857 (0.11 al dì)
Location: Gallarate
Corso: Former TICom
Anno:
Time Online: 27 Days, 4:28:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Bloody
forse devi considerare le classi inserite nelle sottocartelle come appartenenti ad un package la cui directory principale e' prova, aggiungendo la riga di codice all'inizio del sorgente dove si specifica il percorso
package prova.<eventuale_sottocartella>

oppure, guarda qua verso la fine dove si parla di package :)


mmm ok, coi package funziona! ..anche se nn era proprio la soluzione che volevo :pensa:

grassie!!

19-11-2004 19:43
Click Here to See the Profile for TankJr. Click here to Send TankJr. a Private Message Find more posts by TankJr. Add TankJr. to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 14:50.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.035 seconds (78.35% PHP - 21.65% MySQL) con 25 query.