+ 1

What is the extention of file after compilation in java

Like. Java

19th Mar 2017, 6:32 PM
Tushar
Tushar - avatar
7 Answers
+ 12
to compile a java file type- filename.java to run a java file type- java filename your filename must be same as your classname
19th Mar 2017, 6:56 PM
Safiya Yunus
Safiya Yunus - avatar
+ 11
.class
19th Mar 2017, 6:45 PM
Tashi N
Tashi N - avatar
+ 10
Please try to repeat SoloLearn's Java course, Basic Concepts > Running a Java Program. The instructions are quite clear, better than I could type them here. If you're stuck in some place, let us know, what your problem is in detail and add the error message, if any. Thx!
19th Mar 2017, 6:54 PM
Tashi N
Tashi N - avatar
+ 1
Could you please tell me all the steps from compilation to run like
19th Mar 2017, 6:47 PM
Tushar
Tushar - avatar
0
.class
19th Mar 2017, 11:41 PM
Alexander Chychykalo
0
when I compile I compile to a runnable .jar file.. then depending what my end game is, I might run it thru JSMOOTH to make it an exe. usually only bother if I want a custom icon instead of the coffee cup
20th Mar 2017, 1:10 AM
LordHill
LordHill - avatar