How to open .class and .java files of java ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How to open .class and .java files of java ?

I wanted to complete my Course Project and I am not able to open the .class and .java files Can someone help me regarding this ?

2nd Oct 2020, 2:33 PM
JINI BIJU
JINI BIJU - avatar
9 Antworten
+ 5
.class can't be opened easily because it is binary you need popular ide like intellij idea and decompile it but do java you can simply open with notepad
2nd Oct 2020, 2:45 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
+ 3
Use a text editor to open it. Notepad for Windows, TextMate for Mac.
2nd Oct 2020, 2:43 PM
Ore
Ore - avatar
+ 2
Notepad should be able to open .java files. I think your source code has been corrupted.
2nd Oct 2020, 2:46 PM
Ore
Ore - avatar
+ 1
No, I am not able to open using notepad.. I tried.
2nd Oct 2020, 2:44 PM
JINI BIJU
JINI BIJU - avatar
+ 1
I tried using decompiler but still it isn't working
2nd Oct 2020, 2:44 PM
JINI BIJU
JINI BIJU - avatar
+ 1
I am not sure about notepad but vscode definitely can open .java file
2nd Oct 2020, 3:56 PM
­čç«­čç│Vivek­čç«­čç│
­čç«­čç│Vivek­čç«­čç│ - avatar
3rd Oct 2020, 10:20 AM
JINI BIJU
JINI BIJU - avatar
0
What is the error code
2nd Oct 2020, 2:49 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
0
Ok
3rd Oct 2020, 10:24 AM
Ananiya Jemberu
Ananiya Jemberu - avatar