"Ken Kafieh" <kkafieh-StopSp@> wrote in message
news:h0snc.7689$. rogers.com...
> I am not new to programming. But I am new to Java. I am not anticipating
a
> lot of trouble learning it.
>
> I want to start off by using a good compiler that is in fairly common use.
> I dont want to end up having learned a finge, experimental, rarely used,
or
> beta compiler!
> It would be nice if I could just find something that could be considered a
> good reliable, "industry standard" compiler.
> It doesn't need to be state of the art, but I dont exactly want to be
> working with stone knives and tools either.
>
> A few of the programs I will be writing are going to be very CPU
intensive,
> so I prefer a native compiler (for windows) rather than a byte code
> compiler. I figure that a native EXE would run faster than a byte code
> running on a VM. But I am willing to settle for a byte code compiler if
> there is no consensus on a native compiler.
>
> A free compiler is obviously my first choice. But if I absolutely must
> purchase the compiler then I would definately want to get one with a Free
30
> day trial first, before I purchase it. And naturally, if there are
> compilers that anyone would recommend that have no free trial, but for
which
> there is a crack, or serial number, then that's just as good as a free
trial
> in my view.
>
> Thanks a lot for your help in advance!
>
> -Ken
Have you installed the Java SDK?
http://java.sun.com/j2se/1.4.2/download.html
/bin/javac is the standard bytecode compiler. You may also want to try Jikes
http://www-124.ibm.com/developerworks/oss/jikes/
As for native compilers, this concept tends to go against the grain of what
Java is all about, i.e. platform independence. But if you really want to go
that way, there are native compilers available but some are costly and
others don't support the full API. While it is true that these can provide
faster-running code, this is not always the case, and improvements are often
minimal (depending on the code obviously). JIT compilers can make
CPU-specific optimisations at run-time which could theoretically allow
faster execution than natively compiled code. Unless you REALLY need a
supercharged high performance program, you'd be better off staying away from
native compilers, especially when you're learning. Actually you'd probably
be better off sticking with C
http://gcc.gnu.org/java
http://www.kaffe.org/
http://www.geocities.com/marcoschmid...compilers.html