.java to .class issues | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite

.java to .class issues

when doing the "hello world" code and compiling to .class this shows up ExampleProgram.java:1: error: error while writing ExampleProgram: ExampleProgram .class (Access is denied) public class ExampleProgram { ^ 1 error

2nd Aug 2016, 3:32 PM
Gabe Black
Gabe Black - avatar
2 Réponses
is the name of class same with file name?!! bcs compiler does not accept it...
2nd Aug 2016, 9:54 PM
The Eagle
The Eagle - avatar
check the curly braces
2nd Aug 2016, 11:06 PM
karim gomaa
karim gomaa - avatar