• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

binaries and byte codes

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what is the difference between binaries and byte codes
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
parimal
Binary is the number system used by computers to store data. It is composed of a series of 1s and 0s.
Bytecodes are what the java compiler compiles your java source files into. Your .class files are made up of bytecode. It is these bytecode that any jvm can read, on any platform, and then interprets them and causes the specific OS to understand and execute the program.
hope that helps
Dave
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Binary files are executable files that contain machine instructions for a specific platform. Bytecode is compiled Java source code that is interpeted by a JVM. Since computers use a binary system, both binaries and bytecode consist of a series of 1s and 0s.
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic