Ciao a tutti.
Sembra un'odissea.
Ho scaricato J2SDK1.4.2 e l'ho installato.
Ho inserito la path seguendo le istruzioni della Sun.
Ora però ho provato a far partire il compilatore, quando compilo il file Hello.java mi vengono un sacco di errori.
-----------------------------------------------
c:\j2sdk1.4.2_01\src.zip(java/nio/ByteBufferAsIntBufferB.java):34: warning: as o
f release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
c:\j2sdk1.4.2_01\src.zip(java/nio/ByteBufferAsIntBufferB.java):57: warning: as o
f release 1.4, assert is a keyword, and may not be used as an identifier
(source unavailable)
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
100 errors
206 warnings
---------------------------------------------
La lista sarebbe lunga, io l'ho accorciata, ma è tutta così
Mentre quando faccio partire un file già compilato mi da:
Exception in thread "main" java.lang.NoClassDefFoundError: Hello/class
Non so proprio come risolverlo sto problema.
Secondo me è installato male, però ho già disint e reinst 2 volte!
Potrebbe essere un problema di ClassPath?
Io l'ho impostata come %classpath.
Può essere un problema collegato con un file src.zip?

Rispondi quotando
