• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javac and java (compiler and executable)

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can any one tell me, in which language java compiler and the interpreter is developed? If java compiler (javac) is written in java language itself how it can be an exe(executable) file? Is this interpreter means JVM?

Thanks in advance,
ratheesh
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no single answer to your question, because different companies are making different implementations of the Java VM and compiler.

Sun's Java compiler seems to have been written at least partly in Java, because there was a class com.sun.tools.javac.Main in some versions of the JDK (not sure if it still exists in Java 5.0).
 
Ranch Hand
Posts: 687
Hibernate jQuery Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by ratheesh narayanan:
Hi,

Can any one tell me, in which language java compiler and the interpreter is developed? If java compiler (javac) is written in java language itself how it can be an exe(executable) file? Is this interpreter means JVM?

Thanks in advance,
ratheesh



It's in C
 
reply
    Bookmark Topic Watch Topic
  • New Topic