[java] GCJ

Started by
7 comments, last by moregames 23 years, 3 months ago
Does GCJ for linux support java 1.2? 1.3?
Advertisement
Java 1.1 only, and the support for inner classes in Java 1.1 is still experimental.

GJC is the same for all operating systems, BTW, so you will compatible among them all.

Jacob Marner
Jacob Marner, M.Sc.Console Programmer, Deadline Games
Are there any compilers that work for java 1.2 for linux or windows?
Sun''s JDK 2 version 1.3 is available for Windows, Linux and Solaris (for free).
link: http://java.sun.com/j2se/1.3/
Ok, sorry for being unclear. Any other compilers that can compile java to c++?
http://www.towerj.com/ compilies to native machine code.
http://www.excelsior-usa.com/jet.html

(native windows compiler)
Has anyone had any luck compiling GCJ under cygwin (Windows, obviously)?

I''ve tried a couple of times, but can''t manage to compile libgcj successfully.

Any ideas?
quote:Original post by moregames

Ok, sorry for being unclear. Any other compilers that can compile java to c++?


GJC does *NOT* compile to C++. It compiles to the same intermediary language that GCC compiles to and the GCC backend then compiles that to machine code. Java is never compiled to C++.

Several compiler exist that compile Java to machine code:
Webgain Visual Cafe 4.0 (Expert Edition or larger only JDK 1.2)
IBM Visual Age for Java (Enterprise Edition only JDK 1.1)
TowerJ (but TowerJ has no AWT/Swing support JDK 1.2)

Jacob Marner
Jacob Marner, M.Sc.Console Programmer, Deadline Games

This topic is closed to new replies.

Advertisement