• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in which language java compiler is made?

 
praneet kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all of you.i m very new to java.i just wanted to know in which language java compiler is made.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34669
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

There isn't just one compiler. OpenJDK is written in Java. I don't remember if Oracle's compiler is written in Java or C off the top of my head, but I think it is Java too now.
 
praneet kumar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
and can you tell me JVM is written in which language?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34669
366
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wasn't sure if it was C or C++, so I looked. The answer was C++ for open jdk.
 
Winston Gutkowski
Bartender
Pie
Posts: 10422
63
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
praneet kumar wrote:and can you tell me JVM is written in which language?

Is this for a quiz or something? Otherwise, I can't see that knowing the answer to the question helps you much (unless you plan on writing a new JVM or compiler).

But hey, I'm all for trivia myself...

Winston
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic