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]Prog.io della minchia!
Pages (2): [1] 2 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Pupino
- D J -

User info:
Registered: Nov 2003
Posts: 4223 (0.52 al dì)
Location: Paese dei Balocchi
Corso: Buenos aires
Anno: 2008 :)
Time Online: 27 Days, 15:16:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[JAVA]Prog.io della minchia!

Ho scaricato Jcreator per poter scrivere in java...
Il problema è che sebbene gli abbia dato come package il prog.io che serve per far girare delle classi particolari, mi da l' errore:

C:\Documents and Settings\programmi\MediaVotii.java:5: cannot access prog.io.ConsoleOutputManager
bad class file: C:\j2sdk1.4.1_02\lib\prog.jar(prog/io/ConsoleOutputManager.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
ConsoleOutputManager video = new ConsoleOutputManager();


Ma se gli ho detto di usare il package prog.jar che contiene quelle classi dove sta il problema???

:(:(:(:(:(:(:(:(:(:(

__________________

PUPINO'S VIDEO
:asd:
FRANK JAY
:!:

UN BLOG :look:

Last edited by Pupino on 20-11-2006 at 14:40

20-11-2006 14:35
Click Here to See the Profile for Pupino Click Here to See the Blog of Pupino Click here to Send Pupino a Private Message Visit Pupino's homepage! Find more posts by Pupino Add Pupino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DarkSchneider
Why so serious?

User info:
Registered: Feb 2004
Posts: 1250 (0.16 al dì)
Location: Brescia
Corso: Informatica
Anno: out of bounds :/
Time Online: 26 Days, 1:01:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

probabilmente la classe in questione è stata compilata con jdk superiore, prova a ricompilare il sorgente con il tuo jdk

20-11-2006 15:03
Click Here to See the Profile for DarkSchneider Click here to Send DarkSchneider a Private Message Find more posts by DarkSchneider Add DarkSchneider to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Pupino
- D J -

User info:
Registered: Nov 2003
Posts: 4223 (0.52 al dì)
Location: Paese dei Balocchi
Corso: Buenos aires
Anno: 2008 :)
Time Online: 27 Days, 15:16:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non ti seguo.... :(

__________________

PUPINO'S VIDEO
:asd:
FRANK JAY
:!:

UN BLOG :look:

20-11-2006 15:23
Click Here to See the Profile for Pupino Click Here to See the Blog of Pupino Click here to Send Pupino a Private Message Visit Pupino's homepage! Find more posts by Pupino Add Pupino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Smirne
.arcimaestro.

User info:
Registered: Feb 2003
Posts: 479 (0.06 al dì)
Location: Milano
Corso: Comunicazione Musicale
Anno: -6
Time Online: 2 Days, 22:50:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

quando hai scaricato il package prog?
ultimamente è stato aggiornato, magari risolve il problema..

oppure prova ad aggiornare il jdk..che versione hai?

__________________
www.welld.ch
Sviluppo software tra Italia e Svizzera

20-11-2006 15:42
Click Here to See the Profile for Smirne Click here to Send Smirne a Private Message Visit Smirne's homepage! Find more posts by Smirne Add Smirne to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DarkSchneider
Why so serious?

User info:
Registered: Feb 2004
Posts: 1250 (0.16 al dì)
Location: Brescia
Corso: Informatica
Anno: out of bounds :/
Time Online: 26 Days, 1:01:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

prova a scaricarti l'ultima versione del jdk ( Java Development Kit )
dal sito della Sun ( java.sun.com ) e installala sul tuo p.c., anche se è una versione superiore a quella della classe che vuoi usare, va bene uguale, tanto c'è retrocompatibilità.

Ciao.

20-11-2006 15:47
Click Here to See the Profile for DarkSchneider Click here to Send DarkSchneider a Private Message Find more posts by DarkSchneider Add DarkSchneider to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
yeah
.grande:maestro.

User info:
Registered: Nov 2003
Posts: 1644 (0.20 al dì)
Location: Cologno Monzese
Corso: Informatica Magistrale
Anno: II
Time Online: 12 Days, 21:36:41 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

La soluzione sta nel buttare prog e fare I/O secondo Java standard ;)

__________________
?

20-11-2006 17:51
Click Here to See the Profile for yeah Click here to Send yeah a Private Message Find more posts by yeah Add yeah to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Lunik
dsy core staff

User info:
Registered: Mar 2002
Posts: 22362 (2.57 al dì)
Location: Milano
Corso: ComDig
Anno: Dott.ssa
Time Online: 93 Days, 0:52:10 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Off-Topic:
vorrei premiare Pupino per il miglior titolo ad un topic :asd:

__________________
Il DSY su Facebook!!!

20-11-2006 17:56
Click Here to See the Profile for Lunik Click Here to See the Blog of Lunik Click here to Send Lunik a Private Message Visit Lunik's homepage! Find more posts by Lunik Add Lunik to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Pupino
- D J -

User info:
Registered: Nov 2003
Posts: 4223 (0.52 al dì)
Location: Paese dei Balocchi
Corso: Buenos aires
Anno: 2008 :)
Time Online: 27 Days, 15:16:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Qualcosa sembra funzionare, domani provo meglio!

Intanto grazie mille DarkSchneider!! La solidarietà tra bresciani fa sempre beneeeeeeeeeeee!!!!! Brao!



P.s: Lunik ero preso dal non funzionamento di java.... :asd:

__________________

PUPINO'S VIDEO
:asd:
FRANK JAY
:!:

UN BLOG :look:

20-11-2006 23:23
Click Here to See the Profile for Pupino Click Here to See the Blog of Pupino Click here to Send Pupino a Private Message Visit Pupino's homepage! Find more posts by Pupino Add Pupino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
DarkSchneider
Why so serious?

User info:
Registered: Feb 2004
Posts: 1250 (0.16 al dì)
Location: Brescia
Corso: Informatica
Anno: out of bounds :/
Time Online: 26 Days, 1:01:59 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by Pupino
Qualcosa sembra funzionare, domani provo meglio!

Intanto grazie mille DarkSchneider!! La solidarietà tra bresciani fa sempre beneeeeeeeeeeee!!!!! Brao!


figurati di niente

ciao :D

21-11-2006 10:35
Click Here to See the Profile for DarkSchneider Click here to Send DarkSchneider a Private Message Find more posts by DarkSchneider Add DarkSchneider to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Pupino
- D J -

User info:
Registered: Nov 2003
Posts: 4223 (0.52 al dì)
Location: Paese dei Balocchi
Corso: Buenos aires
Anno: 2008 :)
Time Online: 27 Days, 15:16:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Non ci siamo....
Ho fatto un programmino del genere:

code:
import prog.io.*; class MediaVoti { static public void main(String[] args) { ConsoleOutputManager video = new ConsoleOutputManager(); ConsoleInputManager tastiera = new ConsoleInputManager(); int esame, totale=0, i=0; do { i=i++; do { video.print("Immetti voto "+i+": "); esame = tastiera.readInt(); } while (((esame<18) || (esame>30)) && (esame != 9999)); if (esame != 9999) totale = totale + esame; } while(esame != 9999); video.println("La media è: "+totale/(i-1)); } }


Che sul pc dell' uni gira perfettamente, mentre qui sul mio settato con jdk 5.0 su Jcreator me lo compila, ma poi mi dice che la media tra 20 e 20 è -40....

Allora c'è qualcosa che non va.. pesantemente... :shock:

__________________

PUPINO'S VIDEO
:asd:
FRANK JAY
:!:

UN BLOG :look:

21-11-2006 10:53
Click Here to See the Profile for Pupino Click Here to See the Blog of Pupino Click here to Send Pupino a Private Message Visit Pupino's homepage! Find more posts by Pupino Add Pupino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
ripe
- up in the mountains -

User info:
Registered: Jun 2002
Posts: 9469 (1.10 al dì)
Location: Cinisellooo
Corso: TICO TICO
Anno: Primo
Time Online: 61 Days, 2:33:39 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Il problema principale sta nell'usare Java... :asd:

__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»

21-11-2006 11:29
Click Here to See the Profile for ripe Click Here to See the Blog of ripe Click here to Send ripe a Private Message Find more posts by ripe Add ripe to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Skilotto83
..Energia positiva...

User info:
Registered: Jun 2003
Posts: 1608 (0.20 al dì)
Location: Arconate
Corso: Informatica
Anno: LAUREATO!!!
Time Online: 15 Days, 6:32:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ma si fa la concatenazione tra stringa e intero senza problemi?

__________________
"Why, Sir, you find no man at all intellectual who is willing to leave London.
No, Sir, when a man is tired of London, he is tired of life; for there is in London all that life can afford."
(DR SAMUEL JOHNSON 1777)

MSN andrea.poretti(at)hotmail.it

21-11-2006 11:53
Click Here to See the Profile for Skilotto83 Click here to Send Skilotto83 a Private Message Find more posts by Skilotto83 Add Skilotto83 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Pupino
- D J -

User info:
Registered: Nov 2003
Posts: 4223 (0.52 al dì)
Location: Paese dei Balocchi
Corso: Buenos aires
Anno: 2008 :)
Time Online: 27 Days, 15:16:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by ripe
Il problema principale sta nell'usare Java... :asd:


In che senso?

__________________

PUPINO'S VIDEO
:asd:
FRANK JAY
:!:

UN BLOG :look:

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

User info:
Registered: Oct 2003
Posts: 2111 (0.26 al dì)
Location: Berghem de sota
Corso: Lavoratore ATS(Ex TICO)
Anno: 1
Time Online: 16 Days, 2:29:32 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Pupino sei bresciano?

__________________
w la moda e il valore atteso di sto cazzo(Un mod)
JD:love:
crapa pelada ga fac i tortei iera du iera gros e iera bei,i so fredei i ga fai la panada e i galà mia dacia a crapa pelada :asd:

23-11-2006 10:17
Click Here to See the Profile for xtreme82 Click Here to See the Blog of xtreme82 Click here to Send xtreme82 a Private Message Visit xtreme82's homepage! Find more posts by xtreme82 Add xtreme82 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Pupino
- D J -

User info:
Registered: Nov 2003
Posts: 4223 (0.52 al dì)
Location: Paese dei Balocchi
Corso: Buenos aires
Anno: 2008 :)
Time Online: 27 Days, 15:16:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by xtreme82
Pupino sei bresciano?


Lumezzanese, che è in provincia di Brescia! ;)

__________________

PUPINO'S VIDEO
:asd:
FRANK JAY
:!:

UN BLOG :look:

24-11-2006 18:22
Click Here to See the Profile for Pupino Click Here to See the Blog of Pupino Click here to Send Pupino a Private Message Visit Pupino's homepage! Find more posts by Pupino Add Pupino to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 13:54.    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.165 seconds (58.44% PHP - 41.56% MySQL) con 25 query.