Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 6th, 2016, 10:16 AM
GPZ GPZ is offline
Registered User
Join Date: Jun 2016
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Difference between bytecode and object code?

Hi to everybody, I am a beginner in Java programming language and I learned some stuff about translating program code from the start to the end of cycle where ".exe" file is generated. So generally, these are steps:
1. source code is translating with compiler to the object code(relatively addressed);
2. object code is connected with other object codes(if they exist) across linker;
3. If device has Operating System(of course It has, this question doesn't make any sense), loader loads that linked file in RAM of OS and makes ".exe" file. So, in relation of that story, what are relations between this general working which I have just told and "working" in Java(exactly JVM)? Are there any relations between bytecode in Java and object code in general? Any help will be helpful.
Old September 18th, 2017, 05:40 AM
Posts: n/a
Default difference

Byte code - a kind of machine code where the “processor” is an idealized processor that can be implemented on any machine architecture

Object code - a package of code to be executed that can be manipulated by (usually) a linker to produce a program or a library, or which can be an input to a loader. The packaged code is generally either byte code or machine code.

You can find more difference here :- Bytecode vs Object Code in detail
The Following User Says Thank You to For This Useful Post:

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I tell the difference between source and published .NET code? Bill_Thompson ASP.NET 4.5 General Discussion 2 March 19th, 2014 01:31 AM
Difference between downloaded lesson code and code in book Alatha BOOK: Beginning HTML and CSS (published March 2013) 2 August 7th, 2013 08:34 PM
Difference between Instance and Object in # Manoj Bisht C# 9 August 26th, 2008 09:22 AM
Difference b/w declaring and using object keyword mjsoomro C# 3 March 11th, 2008 09:31 AM
Difference b/w Active X & Data Object bhasker_braj121 ADO.NET 0 June 19th, 2007 04:09 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.