Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8324433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:04:31+00:00 2026-06-09T00:04:31+00:00

Actually, the question is a bit broader. I know that javac compiles java file

  • 0

Actually, the question is a bit broader.
I know that javac compiles java file into a bytecode, a class file. So, class file should contain jvm instructions and all that. On the other hand, the only way to see those instructions is to decompile class file with javap -c. But it isn’t decompiling, right? Because if it was decompiling, it would produce java file. So, my guess here is that javac compiles java file like 2 times (which isn’t actually true, but let’s assume that for simplicity), first to jvm instruction, then to bytecode, so javap -c decompiles from bytecode to jvm instructions. Jvm supposed to understand bytecode, thus it can’t understand instructions. I’m a bit confused here. Could someone explain what’s going on here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:04:32+00:00Added an answer on June 9, 2026 at 12:04 am

    Javap doesn’t decompile the bytecode, it disassembles it. To explain the difference, we can switch the terms the other way around: compilation is translating human readable code to bytecode whereas assembly is translating assembly instructions to bytecode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have actually seen this question quite a bit here, but none of them
the question sounds a bit confusing, but it is actually straightforward. This is a
the question sounds a bit confusing, but it is actually straightforward. This is a
The question title is a bit obscure so let me explain. A requirement that
This may sound a bit provocative but it actually is a real question. Feel
I know its a bit of a tricky question but like the information about
This is a rather simple question that is making me a bit curious. Consider
OK, the question title is a bit crappy, but I didn't really know how
hey guys, a little weird question that doesn't actually need to be associated with
I know it is a little bit lazy to ask this question here because

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.