How do you find the .class file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you find the .class file?

3rd Feb 2017, 1:46 AM
Rapha Ayuk
Rapha Ayuk - avatar
3 Answers
+ 4
In cmd: javac address:/to/the/file.java This will create the .class file in the same location as your Java file.
3rd Feb 2017, 1:51 AM
Alireza M
Alireza M - avatar
0
Go into your workspace folder, then click the project you want, then click the "bin" directory. all the .class files for that project should be there
3rd Feb 2017, 1:49 AM
Edward
0
if you use the command line to compile your .java file, the .class file will be created in the same directory as the .java file. if you use an ide like eclipse to compile your .java file, the .class file will be in the bin folder inside your project directory.
3rd Feb 2017, 1:51 AM
Nikunj Arora
Nikunj Arora - avatar