+ 4

What is difference between .jar and bytecode

17th Dec 2016, 1:29 PM
Chintan Patel
Chintan Patel - avatar
4 Respuestas
+ 8
bytecode is generate when java source code is compiled and byte code is platform independent, compiled byte code can run on any platform where jar or executable file which are platform dependent and after completing code that file are made/ given to end user.
17th Dec 2016, 4:13 PM
Piyush Goyani
Piyush Goyani - avatar
+ 2
Bytecode is the machine code to be run on the JVM, whereas a jar file is just an archive of Bytecode and optional source code
25th Dec 2016, 4:53 AM
Gabe Rust
Gabe Rust - avatar
+ 1
byte codes are intermediate representation of your code which is generated by Java compiler. this can be understood only by Java compiler and can't be execute anywhere. where as jar is generated in order to deploy the written code. jar contains class files and its used for deploying the application.
24th Dec 2016, 4:22 AM
Saurabh
- 1
byte code is by java
18th Dec 2016, 7:33 AM
ASWINI