This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JAVA 1.5" Watch "JAVA 1.5" New topic

JAVA 1.5

Priti Sharma

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

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 -
if (Posts < 30) JavaRanchFAQ);
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41572
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:
subject: JAVA 1.5