Home:ALL Converter>Is GIJ (GNU Interpreter for Java) stable enough for commercial use?

Is GIJ (GNU Interpreter for Java) stable enough for commercial use?

Ask Time:2009-07-10T13:32:44         Author:janetsmith

Json Formatter

I have been asked to write a java program on linux platform. According to system admin, the JRE on the linux system is GIJ, which is supposed to be compatible to JRE 1.4.2.

java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-44)
   Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1. Is gij stable enough for commercial use?
  2. Should I ask them to install JRE 6.0 from Sun?
  3. What problems should I expect if I target gij?

Currently I am using WinXP, JDK 6.0, and Eclipse for software development.

Author:janetsmith,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/1107870/is-gij-gnu-interpreter-for-java-stable-enough-for-commercial-use
Samat Jain :

gij is very ancient, and while I don't have references I doubt it's reliable enough to support commercial applications. That, and Java 1.4 is a chore to program in.\n\nIf your systems administrator is willing to install and support a newer version of Java, it'd probably be best to have them do it.\n\nIf the proprietary nature of the Sun JRE concerns you, you should look at OpenJDK. Released under the GPL, it supplants the FSF's efforts with GCJ/GIJ . It's the default version of Java that comes with many open-source Linuxes, such as Debian, Ubuntu, and Fedora. Besides being free, it's also modern---OpenJRE 6 is fully compatible with Sun's JRE6.",
2009-07-10T07:11:45
Matt J :

gij does OK for Java 1.4 code, but if you're writing something from scratch, there's a good chance you want to use Java 5 and possibly Java 6 features. In particular, Java 5 offers generics, autoboxing/unboxing, and a slew of other helpful language and class library features. The Sun JRE is not onerous at all to install, so unless you're developing a very small app where the Java 5 language features wouldn't help much, or you have some other reason for wanting to stick with 1.4, I would just bite the bullet and install the newest JRE from here.",
2009-07-10T05:48:41
Thorbjørn Ravn Andersen :

gij hasn't passed the Sun compatability test, and should be considered a separate platform for building, testing etc.\n\nIf you don't want to go there, then install either the Sun JVM (it is just a matter of typing \"apt-get install sun-java6-jdk\" and accept the license) or OpenJDK (which has a more liberal license, but is not at rigidly tested).",
2009-07-10T09:51:58
Chris Lutz :

gij is the GNU Interpreter for Java, not the Compiler - that's gcj. gcj can compile Java to JVM bytecode (which is interpreted by gij or by any normal Java Virtual Machine) or to native code like a regular compiled language. gij is just the bytecode interpreter, and should probably be equivalent to any other JVM, though I may always be wrong.",
2009-07-10T05:42:54
yy