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 > [installazione sw] problemi
Pages (5): « 1 2 [3] 4 5 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Problema!!!!!
Provo il primo programma con ConsoleOutputMAnager è mi da questo errore!!!!!
Che debbo fare?????


-----------------------------------------------------------------
StampaVideo.java:1: package prog.io does not exist
import prog.io.ConsoleOutputManager;
^
-----------------------------------------------------------------

__________________
giO

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

User info:
Registered: Oct 2003
Posts: 127 (0.02 al dì)
Location: VA
Corso:
Anno:
Time Online: 8 Days, 6:36:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ska_Gio
Problema!!!!!
Provo il primo programma con ConsoleOutputMAnager è mi da questo errore!!!!!
Che debbo fare?????


-----------------------------------------------------------------
StampaVideo.java:1: package prog.io does not exist
import prog.io.ConsoleOutputManager;
^
-----------------------------------------------------------------


dice che prog\io non esiste
hai settato la variabile Classpath?

ciao

31-10-2003 14:45
Click Here to See the Profile for EagleSpirit Click here to Send EagleSpirit a Private Message Find more posts by EagleSpirit Add EagleSpirit to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
citrus
.arcimaestro.

User info:
Registered: Oct 2003
Posts: 382 (0.05 al dì)
Location: como
Corso: com. digitale
Anno: 2
Time Online: 2 Days, 14:39:24 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by elly
ciao, anke io ho il problema di citrus... solo che se vado su autoexec.bat mi compare così:

mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
keyb it,,C:\WINDOWS\COMMAND\keyboard.sys
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\Programmi\Ja
va\J2SDK_1_\bin

SET CLASSPATH="C:\Programmi\JavaSoft\JRE\1.3.1_04\lib\ext\QTJava.zip"
SET QTJAVA="C:\Programmi\JavaSoft\JRE\1.3.1_04\lib\ext\QTJava.zip"

sapete dirmi cosa devo fare alla variabile CLASSPATH????


nella classpath hai specificato il percorso di file un file.zip....
invece devi specificare il percorso della cartella in cui metterai i tuoi package, per esempio io mi sono creato sul desktop una cartella java con una sottocartella "package" che conterrà tutte le mie librerie;
quindi la mia classpath è: "C:\Documents and Settings\Administrator\Desktop\JAVA\PACKAGE;. "
mi raccomando ricordati di aggiungere il "." perchè serve ad indicare la directory da cui lanci il compilatore (senza di esso alcune librerie "standard" di java come la "lang" non vengono trovate).

p.s.
quando setti la variabile ricordati di ricopiare anche i percorsi che già ci sono perchè altrimenti, facendolo da dos, invece di aggiungere sovrascrivi...
...
spero di esserti stato utile.......
citrus
:D

31-10-2003 14:45
Click Here to See the Profile for citrus Click here to Send citrus a Private Message Find more posts by citrus Add citrus 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.44 al dì)
Location:
Corso:
Anno:
Time Online: 36 Days, 7:28:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

qualcuno conosce qualche buon editor java ??

sarebbe molto comodo scrivere e compilare e lanciare tutto
senza per forza continuare ad usare javac e java.

ero così comodo con il borland !

31-10-2003 15:02
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
EagleSpirit
.consigliere.

User info:
Registered: Oct 2003
Posts: 127 (0.02 al dì)
Location: VA
Corso:
Anno:
Time Online: 8 Days, 6:36:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

jcreator (che è free) o il textpad

31-10-2003 15:18
Click Here to See the Profile for EagleSpirit Click here to Send EagleSpirit a Private Message Find more posts by EagleSpirit Add EagleSpirit to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

x eaglespirit....
Ho settato la classpath....che nel mio sistema nn c'era....
Sotto alla finestr Pannello di controllo=>sistema=>avnzate=>variabili d'ambiente
quì c'è una finestra...variabili di sistema....
...in cui c'è path: una lista a cui ho aggiunto:(C:\j2sdk1.4.1_02;C:\j2sdk1.4.1_02\bin)
ma nell'elenco nn c'era classpath....quindi l'ho creato con l'apposito tasto "nuovo"
e in
Nome Variabile ho messo:"Classpath"
Valore variabile:"C:\j2sdk1.4.1_02\prog\io"
Ma ancora da errori quando compilo!!!


------------------------------------------------
StampaVideo.java:1: package prog.io does not exist
import prog.io.ConsoleOutputManager;
^
StampaVideo.java:4: cannot resolve symbol
symbol : class string
location: class StampaVideo
public static void main(string[] args){
^
StampaVideo.java:5: cannot access ConsoleOutputManager
bad class file: C:\j2sdk1.4.1_02\prog\io\ConsoleOutputManager.class
class file contains wrong class: prog.io.ConsoleOutputManager
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
ConsoleOutputManager video=new ConsoleOutputManager();
^
3 errors
----------------------------------------------------------
CHE FACCIO......... AIUTO!!!!

__________________
giO

31-10-2003 15:20
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ho provato a specificare la classpath da dos...
scrivendo:
"java classpath C:\j2sdk1.4.1_02\prog\io"
Ora anche eseguendo un programma senza ConsoleOutputManager mi da questo errore
--------------------------------------------------------
C:\gio[2]\java\CiaoMondo>java CiaoMondo
Exception in thread "main" java.lang.NoClassDefFoundError: CiaoMondo
--------------------------------------------------------

__________________
giO

31-10-2003 15:33
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio 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.44 al dì)
Location:
Corso:
Anno:
Time Online: 36 Days, 7:28:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

grazie, lo cercherò..


Per chi ancora non è riuscito a settare la classpath, bisogna
recuperare le variabili di sistema tramite il
pannello di controllo --> prestazioni e manutenzione -->
sistema --> avanzate --> ed infine variabili d'ambiente
( in basso a sinistra)

a questo punto si trova o si crea la varibile classpath e si aggiunge un ".;" poi si scrive il percorso fino alla cartella "prog" che bisogna dezippare dal cd del libro.

IMPORTANTE : se si ha una shell di DOS aperta chiuderla e riaprirla per far si che le impostazioni abbiano effetto.

Questo per win XP altrimenti per 98 da esegui sysedit bisogna aprire autoexec.bat dall'editor aperto . ora bisogna aggiungere alla fine del file il comando

SET CLASSPATH = .;c:\ il percorso fino alla cartella prog dezippata

CMQ per chi ha il libro l'appendice C può aiutare tantissimo



Fare la birra è un'arte

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

31-10-2003 15:33
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
foolish
bleak

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

Post actions:

Edit | Report | IP: Logged

Originally posted by ska_Gio
x eaglespirit....
Ho settato la classpath....che nel mio sistema nn c'era....
Sotto alla finestr Pannello di controllo=>sistema=>avnzate=>variabili d'ambiente
quì c'è una finestra...variabili di sistema....
...in cui c'è path: una lista a cui ho aggiunto:(C:\j2sdk1.4.1_02;C:\j2sdk1.4.1_02\bin)
ma nell'elenco nn c'era classpath....quindi l'ho creato con l'apposito tasto "nuovo"
e in
Nome Variabile ho messo:"Classpath"
Valore variabile:"C:\j2sdk1.4.1_02\prog\io"
Ma ancora da errori quando compilo!!!



Dà ancora errori perchè devi settare la variabile
classpath con il valore ".;C:\j2sdk1.4.1_02" e basta
con questa è quasi sicuro che funziona tutto.

Chiudi e riavvia la shell e prova.

31-10-2003 15:37
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
EagleSpirit
.consigliere.

User info:
Registered: Oct 2003
Posts: 127 (0.02 al dì)
Location: VA
Corso:
Anno:
Time Online: 8 Days, 6:36:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ska_Gio
x eaglespirit....
Ho settato la classpath....che nel mio sistema nn c'era....
Sotto alla finestr Pannello di controllo=>sistema=>avnzate=>variabili d'ambiente
quì c'è una finestra...variabili di sistema....
...in cui c'è path: una lista a cui ho aggiunto:(C:\j2sdk1.4.1_02;C:\j2sdk1.4.1_02\bin)
ma nell'elenco nn c'era classpath....quindi l'ho creato con l'apposito tasto "nuovo"
e in
Nome Variabile ho messo:"Classpath"
Valore variabile:"C:\j2sdk1.4.1_02\prog\io"
Ma ancora da errori quando compilo!!!


in breve
1. installi le librerie
2. crei la variabile classpath mettendo come percorso . (che si riferisce alla directory corrente) e tutti le altre directory dove hai messo le librerie

31-10-2003 15:48
Click Here to See the Profile for EagleSpirit Click here to Send EagleSpirit a Private Message Find more posts by EagleSpirit Add EagleSpirit to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Angry

ho fatto tutto ma nn va lo stesso....
Ho questa maledetta cartella prog\io.....e quella maledettissima variabile di sistema(classpath) che punta esattamente a quella cartella ma continua a dirmi che non trova prog.io ecc ecc


per ora java==emicrania:look: :look: :look: :look:

__________________
giO

31-10-2003 16:01
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Funziona!!!!!!!!!!!!!

__________________
giO

31-10-2003 16:14
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ska_Gio
::RIDER::

User info:
Registered: Oct 2003
Posts: 360 (0.04 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: mhhhh....
Time Online: 2 Days, 18:54:02: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Lightbulb Siiiiiiiiiiiiiii

Grazie foolish!!!
Si vede che il tuo intelletto eè superiore alla media!!!
:birrozza: :birrozza: :birrozza:

__________________
giO

31-10-2003 16:15
Click Here to See the Profile for ska_Gio Click Here to See the Blog of ska_Gio Click here to Send ska_Gio a Private Message Find more posts by ska_Gio Add ska_Gio to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
EagleSpirit
.consigliere.

User info:
Registered: Oct 2003
Posts: 127 (0.02 al dì)
Location: VA
Corso:
Anno:
Time Online: 8 Days, 6:36:07: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ska_Gio
Funziona!!!!!!!!!!!!!


:-D :-D
era ora! :D

31-10-2003 16:16
Click Here to See the Profile for EagleSpirit Click here to Send EagleSpirit a Private Message Find more posts by EagleSpirit Add EagleSpirit 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.44 al dì)
Location:
Corso:
Anno:
Time Online: 36 Days, 7:28:56 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

per chi sa usare jcreator..
bisogna impostare/settare qualche cosa anche qui??

e tu hai chiuso la shell? altrimenti tutto le modifiche che fai
non serviranno.

Con sto giava sto sclerando. Non si riesce neanche a fare l'upload.

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

31-10-2003 16:20
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
All times are GMT. The time now is 05:35.    Post New Thread    Post A Reply
Pages (5): « 1 2 [3] 4 5 »   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.072 seconds (64.24% PHP - 35.76% MySQL) con 24 query.