Nico

That's not a bad idea .. jikes for development, javac for release.  

I've now had an opportunity to look at the jikes home page and followed the
links for jikes on Solaris .. but that hasn't been written yet.  Do people
use jikes on Solaris?

One other point worthy of mention is that I'm wary of developing against
something we're not going to use in production.  What may be an option is
using jikes throughout, but that decision won't be taken lightly and I feel
there will be some resistance to it .. but I'll certainly put it to the
team.

I also notice from the advantages of jikes that the dependency analysis
provides makefile generation .. in which case what is the role of ant?

Incidentally, we do have code in the final release that doesn't compile! :-)
I'm a little puzzled over this as well, but apparently it has been approved
because it is restricted to some example classes.  Examples of how not to
code presumably :-) ..  don't tell my development team I said that!

Sorry for being so negative .. 

Simon

-----Original Message-----
From: Nico Seessle [mailto:[EMAIL PROTECTED]]
Sent: 23 April 2001 08:23
To: [EMAIL PROTECTED]
Subject: Re: Javac not generating class files.


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 8:19 AM
Subject: RE: Javac not generating class files.


> I don't really know enough about jikes, except that it's an alternative to
> javac.
>
> Are we comparing like for like?  And is it a Java 1.3 compiler?
>

Quoting from the jikes Intro-Page:

"What is JikesTM?

JikesTM is a compiler that translates Java source files as defined in The
Java Language Specification into the bytecoded instruction set and binary
format defined in The Java Virtual Machine Specification.

You may wonder why the world needs another Java compiler, considering that
Sun provides javac free with its SDK. Jikes has four advantages that make it
a valuable contribution to the Linux and Java communities:

* Open source. Jikes is Certified Open Source Software by the Open Source
Initiative.
* Strictly Java compatible. Jikes adheres to both The Java Language
Specification and The Java Virtual Machine Specification as tightly as
possible, and does not support subsets, supersets, or other variations of
the language. The FAQ describes some of the side effects of this strict
language conformance.
* High performance. Jikes is a high performance compiler, making it ideal
for use with larger projects.
* Dependency analysis. Jikes performs a dependency analysis on your code
that provides two very useful features: Incremental builds and makefile
generation. "

It's "the same" as with javac (1.3) - it takes the libraries you tell him to
use and tries to generate class files from your sources. The difference
(apart from the differences mentioned above) is that javac uses the
libraries from "the jdk it was delivered with" as a default, wheras jikes
uses "nothing" as default.

If you want to be really sure that it's 100% compatible you can use jikes
for development and javac for release builds (or are there classes in the
release build which throw compile errors? :-) )

Nico



------------------------------------------------------------------------------
Part of the Halifax Group, Halifax plc, Registered in England No. 2367076.  Registered 
Office: Trinity Road, Halifax, West Yorkshire HX1 2RG. Represents only the Halifax 
Financial Services Marketing Group for the purposes of advising on and selling life 
assurance, pensions and unit trust business.  The Marketing Group is regulated by the 
Personal Investment Authority.  Switchboard 01422 333333.


==============================================================================

Reply via email to