Have recently started to study programming and have chosen java as the language that claims you need to only write the codes once, and then it can run anywhere. So studied a book about it explaining most the basic elements about jave.
but the problem is, anything you write, will be stored as byte codes in .class files which need the jre or a compiler to run; and it doesnt explain at all how to convert these .class files to .exe or .app files.
is it that the book is incomplete or just this level doesnt belong to java teacing books; and, is there any source or toturial to explain how to make actual softwares out of .class files?
What I have tried:
actually I have two books studied, but none did explain this.