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 > programmare in java?!?
Pages (2): [1] 2 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
mimasuper
.consigliere.

User info:
Registered: Sep 2002
Posts: 146 (0.02 al dì)
Location: vic. Milano
Corso: com.dig.
Anno: III anno
Time Online: 2 Days, 13:24:04: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
programmare in java?!?

Ciao a tutti. Vi chiedo un grande favore. Se qualcuno può gentilmente spiegarmi come fare a compilare ed eseguire programmmi in java. So che devo installare la java virtual machine. Ma dov'è? Sul sito java.com non la trovo...Poi è vero che ho bisogno dell'SDK?!?! Vi prego se qualcuno può dirmi qualcosa!!Anche un link a qualche sito, qualsiasi cosa, grazie. Maria:-D

17-11-2003 19:23
Click Here to See the Profile for mimasuper Click here to Send mimasuper a Private Message Find more posts by mimasuper Add mimasuper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
GinoPilotino
.grande:maestro.

User info:
Registered: Dec 2002
Posts: 1403 (0.17 al dì)
Location: Segrate
Corso: TI.COM
Anno: Secondo
Time Online: 13 Days, 8:59:42 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

vai sul questo URL e scarica la versione SDK (windows offline installation) [sono circa 40mb].
a quel punto installalo sul computer e nelle variabili d'ambiente di windows aggiungi nel path il percorso che identifica la cartella in cui hai installato java.

per compilare: vai nel prompt, indichi il percorso della cartella in cui hai salvato il tuo codice e scrivi javac nomeprogramma.java
per eseguirlo: scrivi sempre il percorso e poi il comando java nomeprogramma [senza estensione]

buon rompimento di balle :D

__________________
In ano balenae Gino.

Last edited by GinoPilotino on 17-11-2003 at 19:41

17-11-2003 19:38
Click Here to See the Profile for GinoPilotino Click Here to See the Blog of GinoPilotino Click here to Send GinoPilotino a Private Message Find more posts by GinoPilotino Add GinoPilotino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ElEtAbbOZ
.grande:maestro.

User info:
Registered: Nov 2002
Posts: 1637 (0.20 al dì)
Location: Veduggio -MI-
Corso: ComDig
Anno: 3
Time Online: 27 Days, 23:56:46 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

http://www.dsy.it/forum/forumdisplay.php?s=&forumid=109
dai un occhio qui! magari trovi risposte

__________________
Non cliccare!
MSN: eletabboz@hotmail.com

17-11-2003 19:42
Click Here to See the Profile for ElEtAbbOZ Click Here to See the Blog of ElEtAbbOZ Click here to Send ElEtAbbOZ a Private Message Find more posts by ElEtAbbOZ Add ElEtAbbOZ 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.10 al dì)
Location: Gallarate
Corso: Former TICom
Anno:
Time Online: 27 Days, 4:28:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

è molto semplice! :asd:
prima di tutto ti scarichi e installi Java Development Kit:
http://java.sun.com/j2se/1.4.2/download.html

l'indispensabile JavaDoc:
http://java.sun.com/j2se/1.4.2/download.html#docs

dopodichè devi convigurare le var d'ambiente del tuo OS..

su win mi son fatto un piccolo batch:
@echo off
set PATH=c:\j2sdk1.4.1\bin;%PATH%
set CLASSPATH=c:\j2sdk1.4.1\lib;d:\carlo\java;
cd\
d:
cd carlo\java
java -version
cmd

su linux ti configuri il tuo /etc/profile :
#java
JAVA_HOME=#cartella di installazione di java
export JAVA_HOME
PATH=$PATH: ...
CLASSPATH=$CLASSPATH: ...
export PATH
export CLASSPATH

ah, un'ottimo editor (non solo per Java!) buono x win e per linux:
http://www.jedit.org/

17-11-2003 23:08
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
nous
.:Retore Pomposo:.

User info:
Registered: Dec 2001
Posts: 2945 (0.34 al dì)
Location: Fino Mornasco - Como
Corso: Informatica
Anno: Specialista
Time Online: 16 Days, 13:56:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Hai dimenticato di dirle che poi deve anche studiare Java :D:D:D

__________________
Cristian,il Nous che invoglia ^_^

"La capa è troppo in la,e la sbarba è troppo giovane..mi sa che qua si va in bianco"
Ryo Saeba (City Hunter)

18-11-2003 08:29
Click Here to See the Profile for nous Click Here to See the Blog of nous Click here to Send nous a Private Message Visit nous's homepage! Find more posts by nous Add nous to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mimasuper
.consigliere.

User info:
Registered: Sep 2002
Posts: 146 (0.02 al dì)
Location: vic. Milano
Corso: com.dig.
Anno: III anno
Time Online: 2 Days, 13:24:04: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grazie a tutti. Sto scaricando il J2SE dal sito da voi consigliato! Mi aspettano 4 ore e 8 minuti di attesa...Poi proverò a configurare...speriamo bene!! Vi aggiorno presto.
Grazie ancora, :-D

18-11-2003 08:34
Click Here to See the Profile for mimasuper Click here to Send mimasuper a Private Message Find more posts by mimasuper Add mimasuper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mimasuper
.consigliere.

User info:
Registered: Sep 2002
Posts: 146 (0.02 al dì)
Location: vic. Milano
Corso: com.dig.
Anno: III anno
Time Online: 2 Days, 13:24:04: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

...Teoricamente java lo dovrei già sapere, avendo passato l'esame di programmazione del primo anno...(Che battuta!!!)

18-11-2003 08:41
Click Here to See the Profile for mimasuper Click here to Send mimasuper a Private Message Find more posts by mimasuper Add mimasuper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
MaTeraSS0
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 46 (0.01 al dì)
Location: Mil'ano
Corso: comunicazione digitale
Anno: 1
Time Online: 10:48:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

su win mi son fatto un piccolo batch:
@echo off
set PATH=c:\j2sdk1.4.1\bin;%PATH%
set CLASSPATH=c:\j2sdk1.4.1\lib;d:\carlo\java;
cd\
d:
cd carlo\java
java -version
cmd



Te che sei illuminato mi spieghi meglio questo passaggio?

l'ho seguito alla lettera (spero e credo) pero' quando provo a compilare un programma mi dice simapticamente:

package prog.io does not exist
import prog.io.*;

Ci sto' sbattendo al testa da un giorno ma non riesco a capire!
Pressuponendo che la cartella dove ho salvato il prog sia:
c:\j2sdk1.4.1_02
e la cartella dove ho decompresso il file zippato prog.tar e':
c:\j2sdk1.4.1_02\myjavalib (quindi ho qui dentro la cartella prog)

Come andrebbe settato in maniera corretta?
baci abbracci thx thx

__________________
Uomo di panza....
Uomo di sostanza

Last edited by MaTeraSS0 on 18-11-2003 at 11:13

18-11-2003 11:06
Click Here to See the Profile for MaTeraSS0 Click here to Send MaTeraSS0 a Private Message Find more posts by MaTeraSS0 Add MaTeraSS0 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
foolish
bleak

User info:
Registered: Oct 2003
Posts: 3585 (0.46 al dì)
Location:
Corso:
Anno:
Time Online: 36 Days, 7:28:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

la variabile di sistema CLASSPATH deve contenere il percorso per ragiungere la cartella "prog" e quindi se la tua e' qui:

c:\j2sdk1.4.1_02\myjavalib

la classpath dovra' contenere anche questo valore.

__________________
The only way to discover the limits of the possible is to go beyond them into the impossible.
Arthur C. Clarke.

18-11-2003 14:38
Click Here to See the Profile for foolish Click Here to See the Blog of foolish Click here to Send foolish a Private Message Find more posts by foolish Add foolish to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mimasuper
.consigliere.

User info:
Registered: Sep 2002
Posts: 146 (0.02 al dì)
Location: vic. Milano
Corso: com.dig.
Anno: III anno
Time Online: 2 Days, 13:24:04: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Grazie raga, ho risolto il problema...Adesso devo solo imparare a programmare:?

18-11-2003 17:07
Click Here to See the Profile for mimasuper Click here to Send mimasuper a Private Message Find more posts by mimasuper Add mimasuper to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nous
.:Retore Pomposo:.

User info:
Registered: Dec 2001
Posts: 2945 (0.34 al dì)
Location: Fino Mornasco - Como
Corso: Informatica
Anno: Specialista
Time Online: 16 Days, 13:56:49 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Solo :asd: ?

__________________
Cristian,il Nous che invoglia ^_^

"La capa è troppo in la,e la sbarba è troppo giovane..mi sa che qua si va in bianco"
Ryo Saeba (City Hunter)

18-11-2003 17:46
Click Here to See the Profile for nous Click Here to See the Blog of nous Click here to Send nous a Private Message Visit nous's homepage! Find more posts by nous Add nous to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
MaTeraSS0
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 46 (0.01 al dì)
Location: Mil'ano
Corso: comunicazione digitale
Anno: 1
Time Online: 10:48:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

*alza le ascelle in segno di esultanza*
Ce l'ho fatta dopo mille tentativi!
Alla fine ho semplicemente spostato la cartella delle librerie fuori da quella del programma e mo funziona tutto correttamente quindi non so cosa dirvi se non....

W WINDOWS!!!!!!:D

__________________
Uomo di panza....
Uomo di sostanza

19-11-2003 12:55
Click Here to See the Profile for MaTeraSS0 Click here to Send MaTeraSS0 a Private Message Find more posts by MaTeraSS0 Add MaTeraSS0 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fulminato1
aLTeRaZioNeGuiTaRVoiCe

User info:
Registered: Oct 2003
Posts: 2809 (0.36 al dì)
Location: a casa.
Corso: comunicazio digital
Anno: secondo?
Time Online: 30 Days, 8:54:34 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

FUCK WINDOWS!!!!!

__________________
www.alterazione.com www.andreaforzani.com
www.myspace.com/alterazione
www.myspace.com/festaincravilla

19-11-2003 13:20
Click Here to See the Profile for fulminato1 Click Here to See the Blog of fulminato1 Click here to Send fulminato1 a Private Message Visit fulminato1's homepage! Find more posts by fulminato1 Add fulminato1 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
WaLkYrIuS
.precettore.

User info:
Registered: Aug 2003
Posts: 99 (0.01 al dì)
Location: Milanés dè Milàn...e milànista...
Corso: Comunicazione Digitale
Anno:
Time Online: 13:42:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

oggi in laboratorio ho provato con un mio amico...e con l'aiuto di un tutor abbiamo impostato class e classpath su un pc (cazz....non era configurato.... :D )

__________________
LA COMBRICOLA DELL'ALCOOL ONLINE

19-11-2003 19:54
Click Here to See the Profile for WaLkYrIuS Click here to Send WaLkYrIuS a Private Message Find more posts by WaLkYrIuS Add WaLkYrIuS to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
MaTeraSS0
.fedelissimo.

User info:
Registered: Oct 2003
Posts: 46 (0.01 al dì)
Location: Mil'ano
Corso: comunicazione digitale
Anno: 1
Time Online: 10:48:45 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ero tentato anche io di portare il mio bambino in laboratorio!
Solo che poi si sarebbe sentito un portatile e non credo si sarebbe piu' acceso:(

__________________
Uomo di panza....
Uomo di sostanza

19-11-2003 22:29
Click Here to See the Profile for MaTeraSS0 Click here to Send MaTeraSS0 a Private Message Find more posts by MaTeraSS0 Add MaTeraSS0 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 18:45.    Post New Thread    Post A Reply
Pages (2): [1] 2 »   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.095 seconds (72.56% PHP - 27.44% MySQL) con 25 query.