Timeline for How Java Language Works
Current License: CC BY-SA 2.5
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 5, 2018 at 6:11 | answer | added | Jayanth | timeline score: 0 | |
| Feb 9, 2011 at 14:58 | vote | accept | Community Bot | ||
| Feb 7, 2011 at 17:16 | answer | added | maaartinus | timeline score: 3 | |
| Feb 7, 2011 at 17:01 | comment | added | kdabir | oops, i guess comment don't refresh automatically like answers :) | |
| Feb 7, 2011 at 17:00 | comment | added | kdabir | Java compiler turns code into Java Byte-Code. in the form of a .class file | |
| Feb 7, 2011 at 16:58 | answer | added | Puce | timeline score: 0 | |
| Feb 7, 2011 at 16:56 | comment | added | Mark Peters |
You've got the jist of it. The compiler typically takes a .java (source code, in text) file and produces one or more .class file which contain the bytecode for each class defined in the source file. The hardware has no idea whether it's running code from a compiled or interpreted language. By the time the computer executes it, it's all machine code.
|
|
| Feb 7, 2011 at 16:56 | comment | added | bestsss | hopeless not, it's more or less ok. JVM is way more complicated than just simple read byte code/turn into machine code. It optimizes, profiles and does code modification on-the-fly, if need be. | |
| Feb 7, 2011 at 16:55 | comment | added | user395760 |
Sounds about right (with s/\.java/\.class/), but is this the whole question?
|
|
| Feb 7, 2011 at 16:55 | comment | added | ColinD |
Java bytecode files are .class files... .java are the source files.
|
|
| Feb 7, 2011 at 16:54 | answer | added | Jaydee | timeline score: 2 | |
| Feb 7, 2011 at 16:54 | answer | added | ayush | timeline score: 2 | |
| Feb 7, 2011 at 16:53 | answer | added | Aravind Yarram | timeline score: 0 | |
| Feb 7, 2011 at 16:51 | history | edited | Nishant | CC BY-SA 2.5 |
added 9 characters in body
|
| Feb 7, 2011 at 16:51 | history | edited | Aravind Yarram | CC BY-SA 2.5 |
added 5 characters in body
|
| Feb 7, 2011 at 16:48 | history | asked | user485498 | CC BY-SA 2.5 |