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. > Didattica > Corsi A - F > Fondamenti di architettura e programmazione > [I° turno] Diario del corso 2006/07
Pages (10): « First ... « 2 3 4 5 [6] 7 8 9 10 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ayakochan
the real puppet

User info:
Registered: Oct 2006
Posts: 103 (0.01 al dì)
Location: Busto Arsizio Beach
Corso: comunicazione digitale
Anno: ...
Time Online: 1 Day, 8:54:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ciao, ho un piccolo problema.
per poter programmare a casa ho installato java dal cd del libro.
ma devo anche settare il path e il class path come abbiamo fatto in laboratorio?
se sì non è qualcuno nella sua immensa bontà e misericordia mi spiega come si fa???

grazzzie

__________________
...now my feet won't touch the ground...

05-12-2006 10:35
Click Here to See the Profile for ayakochan Click here to Send ayakochan a Private Message Find more posts by ayakochan Add ayakochan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dodo77
Burn in my Light

User info:
Registered: Sep 2004
Posts: 864 (0.11 al dì)
Location: Into a Corner
Corso: Com. Digitale
Anno: son vecchio
Time Online: 2 Days, 2:25:13 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Dal sito della Sun

1. Choose
Start --> Settings --> Control Panel and double-click System.

Look for "Path" in the User Variables and System Variables. If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables.
A typical value for PATH is:
C:\Program Files\Java\jdk1.5.0_<version>\bin

Capitalization doesn't matter. Click "Set", "OK" or "Apply".

The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows looks for programs in the PATH directories in order, from left to right. You should only have one bin directory for a JDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to jdk1.5.0_<version>\bin.

2. The new path takes effect in each new Command Prompt window you open after setting the PATH variable.


tradotto in italiano:

1) vai in pannello di controllo ed apri l'icona Systema
cerca il pulsantino che ice "Variabili d'Ambiente" (mo non ricordo dove sta...)
ti apre una finestrella.
in unda di queste due finestrelle troverai una variabile di nome PATH.
clicca su questa e fai modifica.
ci sarà una bella riga di roba, vai in fondo a questa (che dovrebbe finire con un punto e virgola) e dopo il punto e virgola metti il percorso della tua cartella \bin di java (guarda dove hai installato java li dentro hai la cartella \bin)
quindi esempio c:\java\bin;
ricorda di mettere il punto e virgola anche dietro la riga che metti tu. fai ok e apply e quando apri il prompt gira ma a metà.

ti manca da impostare il classpath cioè dove java andrà a pigliare i tuoi jar personalizati (almeno prima era così non so se ora si son fatti furbi)

ricordo che oltre a PATH dovresti avere anche CLASSPATH sempre nella finestrella dove c'è PATH.
se non c'è CLASSPATH crealo e dentro mettici il percorso alla tua directory \lib (es. c:\java\lib;) anche qui ricorda il ; finale.

fai ok e apply a tutto e prova a compilare questo

code:
import prog.io.*; public class Hello { public static void main(String[] arg) { ConsoleOutputManager out = new ConsoleOutputManager(); out.println("Ciao"); } }

se compila ed esegue tutto funziona :)

05-12-2006 11:17
Click Here to See the Profile for dodo77 Click here to Send dodo77 a Private Message Find more posts by dodo77 Add dodo77 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ayakochan
the real puppet

User info:
Registered: Oct 2006
Posts: 103 (0.01 al dì)
Location: Busto Arsizio Beach
Corso: comunicazione digitale
Anno: ...
Time Online: 1 Day, 8:54:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

non sono riuscita a far nulla di quello che hai scritto...:?


ho trovato la variabile path, le ho aggiunto il percorso di bin..e poi non ho capito più cosa devo fare:help:

__________________
...now my feet won't touch the ground...

05-12-2006 11:53
Click Here to See the Profile for ayakochan Click here to Send ayakochan a Private Message Find more posts by ayakochan Add ayakochan to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dodo77
Burn in my Light

User info:
Registered: Sep 2004
Posts: 864 (0.11 al dì)
Location: Into a Corner
Corso: Com. Digitale
Anno: son vecchio
Time Online: 2 Days, 2:25:13 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

apri notepad ed incolli dentro quel codice di programma
salvalo dove vuoi tu Hello.java
apri un prompt-dos

\> cd x:\<cartella con il file salvato>
\> javac Hello.java

se non dice nulla ha compilato e quindi fai

\> java Hello
Ciao
\>_

se ha dato problemi incolla qui che problema ti da che vediamo ^^

05-12-2006 12:02
Click Here to See the Profile for dodo77 Click here to Send dodo77 a Private Message Find more posts by dodo77 Add dodo77 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lultimo
.consigliere.

User info:
Registered: Sep 2006
Posts: 106 (0.02 al dì)
Location: Milano Loreto
Corso: Comunicazione Digitale
Anno: 1
Time Online: 11:39:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

io sono stato assente l'ultima settimana e non ho quindi seguito le indicazioni del prof per quanto riguarda gli argomenti del compitino (gli esercizi tipo proposti) nè le indicazioni varie della modalità di esame (ora, aula, niente appunti, ecc..).
qualcuno me lo puo dire gentilmente? grazie

09-12-2006 00:42
Click Here to See the Profile for lultimo Click here to Send lultimo a Private Message Visit lultimo's homepage! Find more posts by lultimo Add lultimo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dodo77
Burn in my Light

User info:
Registered: Sep 2004
Posts: 864 (0.11 al dì)
Location: Into a Corner
Corso: Com. Digitale
Anno: son vecchio
Time Online: 2 Days, 2:25:13 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

lunedì e martedì non c'ero nemmeno io però per quanto riguarda gli esercizzi c'è il solito .pdf di esempio sul sito del prof (domande e soluzioni)

per quanto riguarda le info sulla prova non so proprio, al momento suppongo in aula 200 come una normale lezione.. solo che mi sembra un po piccolina per prevenzioni "anti-copiatura"

09-12-2006 00:45
Click Here to See the Profile for dodo77 Click here to Send dodo77 a Private Message Find more posts by dodo77 Add dodo77 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nanni
.grande:maestro.

User info:
Registered: Mar 2006
Posts: 684 (0.10 al dì)
Location: Milano
Corso: CD
Anno:
Time Online: 4 Days, 22:30:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

confermo lunedì in aula 200...orario normale...tempo a disposizione 2 ore a detta del prof...quindi non so inizia alle 10:30 o alle 11:30...rimane sempre un'ora "libera"...!

09-12-2006 09:40
Click Here to See the Profile for nanni Click here to Send nanni a Private Message Find more posts by nanni Add nanni to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dodo77
Burn in my Light

User info:
Registered: Sep 2004
Posts: 864 (0.11 al dì)
Location: Into a Corner
Corso: Com. Digitale
Anno: son vecchio
Time Online: 2 Days, 2:25:13 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

beh credo sia per le 10.30, ora che ci sistemiamo etc... :)
come il primo compitino insomma...

09-12-2006 10:28
Click Here to See the Profile for dodo77 Click here to Send dodo77 a Private Message Find more posts by dodo77 Add dodo77 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lultimo
.consigliere.

User info:
Registered: Sep 2006
Posts: 106 (0.02 al dì)
Location: Milano Loreto
Corso: Comunicazione Digitale
Anno: 1
Time Online: 11:39:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

in 200 non ci stiamo messi una fila si e una no..
probabilmente darà i compiti diversi il dibolico boldi
ho sentito un compagno e ha detto che nn si puo usare appunti.. Nessun programmatore sa scrivere un programma al primo colpo senza fare un errore e senza consultare un manuale.
Ma soprattutto non capisco perchè non ce lo fa fare in un aula computer! il compilatore è uno strumento fondamentale per chi porgramma! solo con quello sai dove hai sbagliato il codice!

__________________
Chi sa fa, chi non sa INSEGNA
Vendo libri "backup":-D del primo e secondo anno di comunicazione digitale
Contattatemi via pm

09-12-2006 12:11
Click Here to See the Profile for lultimo Click here to Send lultimo a Private Message Visit lultimo's homepage! Find more posts by lultimo Add lultimo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dodo77
Burn in my Light

User info:
Registered: Sep 2004
Posts: 864 (0.11 al dì)
Location: Into a Corner
Corso: Com. Digitale
Anno: son vecchio
Time Online: 2 Days, 2:25:13 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mah...ci ho pensato anche io che è un po inutile una cosa così

al max se si vuole me lo fa fare in pseudo-programmazione...

io ho visto l'esempio del compitino ed i programmi che ci sono li sono abbastanza complessi per il tempo concesso in piu usano metodi che solo le API possono darti, se uno non si ricorda la struttura di un metodo che fa? che utilità ha ricordarsi memoria 10000 metodi quando hai l'API sotto mano?

poi se ti incarti nel ragionare su uno finisce che non riesci a fare gli altri e magari ti manca una riga di codice per risolvere tutto...

mi sembra molto "campato in aria" una cosa simile.

sarebbe piu utile avere un compilatore, esecutore e le API sotto mano per poter fare una cosa "seria"

09-12-2006 12:50
Click Here to See the Profile for dodo77 Click here to Send dodo77 a Private Message Find more posts by dodo77 Add dodo77 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
lultimo
.consigliere.

User info:
Registered: Sep 2006
Posts: 106 (0.02 al dì)
Location: Milano Loreto
Corso: Comunicazione Digitale
Anno: 1
Time Online: 11:39:20 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

speriamo si apiu clemente del primo compitino....................

__________________
Chi sa fa, chi non sa INSEGNA
Vendo libri "backup":-D del primo e secondo anno di comunicazione digitale
Contattatemi via pm

10-12-2006 13:40
Click Here to See the Profile for lultimo Click here to Send lultimo a Private Message Visit lultimo's homepage! Find more posts by lultimo Add lultimo to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nanni
.grande:maestro.

User info:
Registered: Mar 2006
Posts: 684 (0.10 al dì)
Location: Milano
Corso: CD
Anno:
Time Online: 4 Days, 22:30:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ho dei seri dubbi...

10-12-2006 13:44
Click Here to See the Profile for nanni Click here to Send nanni a Private Message Find more posts by nanni Add nanni to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Mazinkaiser
Debiru Mashin

User info:
Registered: Mar 2006
Posts: 351 (0.05 al dì)
Location: Pavia
Corso: Informatica per la Comunicazione
Anno: FC (Fuori Corso, FanCulo)
Time Online: 5 Days, 1:58:48 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

e se volete piangere, a spanne ha detto che per ogni esercizio bisogna impiegarci circa 12 minuti sennò si rischia di nn finire xD
rassicurante... tse

10-12-2006 17:21
Click Here to See the Profile for Mazinkaiser Click here to Send Mazinkaiser a Private Message Find more posts by Mazinkaiser Add Mazinkaiser to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
dodo77
Burn in my Light

User info:
Registered: Sep 2004
Posts: 864 (0.11 al dì)
Location: Into a Corner
Corso: Com. Digitale
Anno: son vecchio
Time Online: 2 Days, 2:25:13 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

bene....
prevedo una tragedia ^^

10-12-2006 17:25
Click Here to See the Profile for dodo77 Click here to Send dodo77 a Private Message Find more posts by dodo77 Add dodo77 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
nanni
.grande:maestro.

User info:
Registered: Mar 2006
Posts: 684 (0.10 al dì)
Location: Milano
Corso: CD
Anno:
Time Online: 4 Days, 22:30:27 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

mi associo!

10-12-2006 19:30
Click Here to See the Profile for nanni Click here to Send nanni a Private Message Find more posts by nanni Add nanni to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 08:43.    Post New Thread    Post A Reply
Pages (10): « First ... « 2 3 4 5 [6] 7 8 9 10 »   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.111 seconds (63.83% PHP - 36.17% MySQL) con 23 query.