Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

[java] GCJ

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
8 replies to this topic

#1 moregames   Members   

122
Like
Likes
Like

Posted 21 December 2000 - 02:04 AM

Does GCJ for linux support java 1.2? 1.3?

#2 felonius   Members   

122
Like
Likes
Like

Posted 21 December 2000 - 09:32 PM

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


#3 moregames   Members   

122
Like
Likes
Like

Posted 21 December 2000 - 11:12 PM

Are there any compilers that work for java 1.2 for linux or windows?

#4 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 22 December 2000 - 12:40 AM

Sun''s JDK 2 version 1.3 is available for Windows, Linux and Solaris (for free).
link: http://java.sun.com/j2se/1.3/

#5 moregames   Members   

122
Like
Likes
Like

Posted 22 December 2000 - 02:07 AM

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

#6 tunabox   Members   

122
Like
Likes
Like

Posted 26 December 2000 - 12:35 PM

http://www.towerj.com/ compilies to native machine code.

#7 JasonB   Members   

122
Like
Likes
Like

Posted 26 December 2000 - 11:02 PM

http://www.excelsior-usa.com/jet.html

(native windows compiler)

#8 JasonB   Members   

122
Like
Likes
Like

Posted 27 December 2000 - 09:01 AM

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?

#9 felonius   Members   

122
Like
Likes
Like

Posted 27 December 2000 - 11:07 PM

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




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.