aspose file tools*
The moose likes Beginning Java and the fly likes JAVA 1.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JAVA 1.5" Watch "JAVA 1.5" New topic
Author

JAVA 1.5

Priti Sharma
Greenhorn

Joined: Oct 15, 2008
Posts: 15
In which language, the java 1.5 is written? Is it written in basic java?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
There is no single answer to the question, as it is ambigious.

The Java Language Specification is written in some form of English, as should be obvious.

If you are referring to the Sun JDK (and this might be different for JDKs from other vendors), most of the class library and the tools like javac are written in Java, with some native code mixed in, probably written mostly in C.

As far as I know, the JVM is written in C, too.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
It is not uncommon for a language to be written in itself, though it may seem counter intuitive.

I know GNU C Compiler was written (almost) entirely in C. (It's prob'ly even more complex today - my knowledge backdates 15 years.)

You'd use the native C compiler (available on any UN*X box) to compile gcc. Then Use the new gcc to compile itself again, because there are a LOT of optimizations in the gcc compiler that don't exist in the standard compilers.

And of course, just compile version N+1 with version N.


Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42294
    
  64
jikes -a free compiler originating from IBM- is written in C.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAVA 1.5