Hi zusammen,
ich habe mir einen JAVA Code Dekompiliert.
Mit IntelliJ IDEA Community Edition 11.1.1 ist man in der Lage,
ein vorhandenes Projekt aus einer ZIPDatei zu "öffenen" und entsprechend wieder zu Kompilieren.
Problem:
Derjenige hat hier Klassen eingebunden, die bei meiner Kompilierung jedoch zu Fehlern führt.
Code:
Information:Note: Some input files use unchecked or unsafe operations.
Information:Note: Recompile with -Xlint:unchecked for details.
Information:Compilation completed with 100 errors and 0 warnings
Information:100 errors
Information:0 warnings
Der\Pfrad\zum\Java\Tool\main\MainWindow.java
Error:Error:line (37)error: cannot find symbol class I
Error:Error:line (58)error: a is already defined in MainWindow
Error:Error:line (59)error: a is already defined in MainWindow
Error:Error:line (60)error: a is already defined in MainWindow
Error:Error:line (62)error: cannot find symbol class d
Error:Error:line (63)error: a is already defined in MainWindow
Error:Error:line (311)error: cannot find symbol class I
Error:Error:line (372)error: cannot find symbol class I
Error:Error:line (413)error: cannot find symbol class I
Error:Error:line (68)error: cannot find symbol variable jdField_a_of_type_JavaLangString
Error:Error:line (69)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (70)error: cannot find symbol variable jdField_a_of_type_JavaxSwingJLabel
Error:Error:line (71)error: cannot find symbol variable jdField_b_of_type_JavaxSwingJLabel
Error:Error:line (73)error: cannot find symbol variable jdField_a_of_type_JavaxSwingJButton
Error:Error:line (79)error: cannot find symbol class o
Error:Error:line (84)error: cannot find symbol variable jdField_a_of_type_Boolean
Error:Error:line (87)error: cannot find symbol class p
Error:Error:line (96)error: cannot find symbol class q
Error:Error:line (99)error: cannot find symbol variable jdField_a_of_type_JavaxSwingJButton
Error:Error:line (103)error: cannot find symbol method setBounds(int,int,int,int)
Error:Error:line (105)error: cannot find symbol method setBounds(int,int,int,int)
Error:Error:line (107)error: cannot find symbol method setBorder(EtchedBorder)
Error:Error:line (112)error: cannot find symbol method setBounds(int,int,int,int)
Error:Error:line (114)error: cannot find symbol method setFont(Font)
Error:Error:line (117)error: cannot find symbol method setBounds(int,int,int,int)
Error:Error:line (119)error: cannot find symbol method setBounds(int,int,int,int)
Error:Error:line (121)error: cannot find symbol method setBounds(int,int,int,int)
Error:Error:line (123)error: cannot find symbol method setBounds(int,int,int,int)
Error:Error:line (125)error: cannot find symbol method setBounds(int,int,int,int)
Error:Error:line (139)error: cannot find symbol method setVerticalScrollBarPolicy(int)
Error:Error:line (149)error: cannot find symbol class r
Error:Error:line (212)error: cannot find symbol variable localJCheckBox
Error:Error:line (213)error: cannot find symbol variable localJCheckBox
Error:Error:line (228)error: cannot find symbol class s
Error:Error:line (231)error: cannot find symbol method setFont(Font)
Error:Error:line (234)error: cannot find symbol variable jdField_a_of_type_JavaxSwingJLabel
Der\Pfrad\zum\Java\Tool\I.java
Error:Error:line (9)error: a is already defined in I
Error:Error:line (14)error: a is already defined in I
Error:Error:line (15)error: a is already defined in I
Error:Error:line (16)error: b is already defined in I
Error:Error:line (17)error: c is already defined in I
Error:Error:line (18)error: b is already defined in I
Error:Error:line (19)error: a is already defined in I
Error:Error:line (20)error: b is already defined in I
Error:Error:line (21)error: c is already defined in I
Error:Error:line (22)error: d is already defined in I
Error:Error:line (23)error: e is already defined in I
Error:Error:line (36)error: d is already defined in I
Error:Error:line (37)error: a is already defined in I
Error:Error:line (38)error: cannot find symbol class b
Error:Error:line (40)error: b is already defined in I
Error:Error:line (41)error: c is already defined in I
Error:Error:line (43)error: b is already defined in I
Error:Error:line (47)error: d is already defined in I
Der\Pfrad\zum\Java\Tool\N.java
Error:Error:line (4)error: a is already defined in N
Der\Pfrad\zum\Java\Tool\L.java
Error:Error:line (5)error: a is already defined in L
Error:Error:line (6)error: b is already defined in L
Error:Error:line (7)error: a is already defined in L
Error:Error:line (8)error: a is already defined in L
Der\Pfrad\zum\Java\Tool\E.java
Error:Error:line (4)error: a is already defined in E
Der\Pfrad\zum\Java\Tool\O.java
Error:Error:line (198)error: a(I,int) is already defined in O
Error:Error:line (210)error: a(I) is already defined in O
Error:Error:line (243)error: a(I) is already defined in O
Der\Pfrad\zum\Java\Tool\G.java
Error:Error:line (340)error: a(I,String) is already defined in G
Error:Error:line (364)error: a(I) is already defined in G
Error:Error:line (386)error: a(I,String) is already defined in G
Error:Error:line (416)error: b(I) is already defined in G
Der\Pfrad\zum\Java\Tool\J.java
Error:Error:line (95)error: a(I) is already defined in J
Error:Error:line (104)error: b(I) is already defined in J
Error:Error:line (121)error: c(I) is already defined in J
Error:Error:line (156)error: d(I) is already defined in J
Error:Error:line (230)error: e(I) is already defined in J
Error:Error:line (239)error: f(I) is already defined in J
Error:Error:line (248)error: g(I) is already defined in J
Error:Error:line (299)error: h(I) is already defined in J
Error:Error:line (308)error: i(I) is already defined in J
Error:Error:line (317)error: j(I) is already defined in J
Error:Error:line (326)error: k(I) is already defined in J
Der\Pfrad\zum\Java\Tool\t.java
Error:Error:line (16)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (18)error: incompatible types
required: ActionEvent
found: Timer
Error:Error:line (19)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (19)error: cannot find symbol variable jdField_a_of_type_JavaxSwingJCheckBox
Error:Error:line (22)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (22)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (22)error: cannot find symbol method schedule(x,long,long)
Error:Error:line (23)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (26)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (26)error: illegal start of type
Error:Error:line (26)error: cannot find symbol variable jdField_a_of_type_JavaxSwingJCheckBox
Error:Error:line (29)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (32)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (33)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (33)error: cannot find symbol variable a
Error:Error:line (33)error: cannot find symbol variable jdField_a_of_type_Int
Error:Error:line (33)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (33)error: cannot find symbol variable a
Error:Error:line (33)error: cannot find symbol variable jdField_a_of_type_Float
Error:Error:line (33)error: cannot find symbol variable jdField_a_of_type_MainMainWindow
Error:Error:line (33)error: cannot find symbol variable a
Error:Error:line (33)error: cannot find symbol variable b
Die Ordnerstruktur:
Code:
Verzeichnis von Der\Pfrad\zum\Java\Tool
22.04.2012 10:36 <DIR> .
22.04.2012 10:36 <DIR> ..
21.04.2012 18:58 2.778 A.java
21.04.2012 18:45 701 B.java
22.04.2012 10:32 613 C.java
21.04.2012 18:46 <DIR> com
21.04.2012 18:45 197 D.java
21.04.2012 18:45 330 E.java
21.04.2012 18:45 1.443 F.java
22.04.2012 10:32 20.209 G.java
22.04.2012 10:32 7.824 H.java
22.04.2012 10:32 2.100 I.java
22.04.2012 10:32 11.185 J.java
22.04.2012 10:32 7.523 K.java
21.04.2012 18:45 437 L.java
21.04.2012 18:45 166 M.java
22.04.2012 10:32 <DIR> main
21.04.2012 18:46 <DIR> META-INF
21.04.2012 18:45 221 N.java
22.04.2012 10:32 9.289 O.java
21.04.2012 18:45 873 p.java
21.04.2012 18:45 458 q.java
21.04.2012 18:45 467 r.java
22.04.2012 10:32 1.472 s.java
22.04.2012 10:32 2.144 t.java
22.04.2012 10:36 0 tree.txt
22.04.2012 10:32 658 u.java
22.04.2012 10:32 1.382 v.java
22.04.2012 10:32 2.652 w.java
21.04.2012 18:45 1.303 x.java
22.04.2012 10:32 897 y.java
21.04.2012 18:45 1.196 z.java
27 Datei(en), 78.518 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
21.04.2012 18:46 <DIR> sun
0 Datei(en), 0 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
21.04.2012 18:46 <DIR> jna
0 Datei(en), 0 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
21.04.2012 18:46 <DIR> darwin
21.04.2012 18:46 <DIR> freebsd-amd64
21.04.2012 18:46 <DIR> freebsd-i386
21.04.2012 18:46 <DIR> linux-amd64
21.04.2012 18:46 <DIR> linux-i386
21.04.2012 18:46 <DIR> platform
21.04.2012 18:46 <DIR> sunos-amd64
21.04.2012 18:46 <DIR> sunos-sparc
21.04.2012 18:46 <DIR> sunos-sparcv9
21.04.2012 18:46 <DIR> sunos-x86
21.04.2012 18:46 <DIR> win32-amd64
21.04.2012 18:46 <DIR> win32-x86
0 Datei(en), 0 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\darwin
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 282.840 libjnidispatch.jnilib
1 Datei(en), 282.840 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\freebsd-amd64
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 133.453 libjnidispatch.so
1 Datei(en), 133.453 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\freebsd-i386
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 112.225 libjnidispatch.so
1 Datei(en), 112.225 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\linux-amd64
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 182.780 libjnidispatch.so
1 Datei(en), 182.780 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\linux-i386
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 142.965 libjnidispatch.so
1 Datei(en), 142.965 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\platform
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
21.04.2012 18:46 <DIR> dnd
21.04.2012 18:46 <DIR> mac
12.02.2012 18:39 208 package.html
21.04.2012 18:46 <DIR> unix
21.04.2012 18:46 <DIR> win32
1 Datei(en), 208 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\platform\dnd
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 253 package.html
1 Datei(en), 253 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\platform\mac
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 192 package.html
1 Datei(en), 192 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\platform\unix
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 203 package.html
1 Datei(en), 203 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\platform\win32
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 195 package.html
1 Datei(en), 195 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\sunos-amd64
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 149.632 libjnidispatch.so
1 Datei(en), 149.632 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\sunos-sparc
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 149.600 libjnidispatch.so
1 Datei(en), 149.600 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\sunos-sparcv9
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 179.136 libjnidispatch.so
1 Datei(en), 179.136 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\sunos-x86
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 124.140 libjnidispatch.so
1 Datei(en), 124.140 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\win32-amd64
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 196.608 jnidispatch.dll
1 Datei(en), 196.608 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\com\sun\jna\win32-x86
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 346.987 jnidispatch.dll
1 Datei(en), 346.987 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\main
22.04.2012 10:32 <DIR> .
22.04.2012 10:32 <DIR> ..
21.04.2012 18:58 25.116 MainWindow.java
1 Datei(en), 25.116 Bytes
Verzeichnis von Der\Pfrad\zum\Java\Tool\META-INF
21.04.2012 18:46 <DIR> .
21.04.2012 18:46 <DIR> ..
12.02.2012 18:39 324 MANIFEST.MF
1 Datei(en), 324 Bytes
Anzahl der angezeigten Dateien:
45 Datei(en), 2.105.375 Bytes
65 Verzeichnis(se), 26.511.040.512 Bytes frei
Der Fehler selbst ist mir klar, aber wie bekomm ich in Java die Verweise der Klassen wir so hin, damit ich Kompilieren kann?¿?
Da ich mir JAVA bisher kaum Erfahrung sammeln konnte und in Google auch nicht so schlau draus geworden bin, hoffe ich auf diesem Weg jemanden zu finden, der mir ggf. weiterhelfen kann?
Vielen Dank schon mal für jegliche Unterstützung!