GNU Compiler for Java
Encyclopedia
CNI depends on Java classes appearing as C++ classes. For example,
given a Java class,

public class Int
{
public int i;
public Int(int i) { this.i = i; }
public static Int zero = new Int(0);
}

one can use the class thus:
  1. include
  2. include


Int *mult(Int *p, int k)
{
if (k

0)
return Int::zero; // Static member access.
return new Int(p->i * k);
}

See also



  • GNU Interpreter for Java
    GNU Interpreter for Java
    The GNU Interpreter for Java is a Java bytecode interpreter for the Java programming language.It is part of the free software GNU Compiler for Java . GCJ is the compiler counterpart to GIJ.-External links:* * *...

     (GIJ)
  • IcedTea
    IcedTea
    IcedTea is a build and integration project for OpenJDK launched by Red Hat in June 2007. The initial goal was to make the Java OpenJDK software which Sun Microsystems released as free software in 2007 usable without requiring any other software that is not free software and hence make it possible...

  • Kaffe
    Kaffe
    Kaffe is a clean room design of a Java Virtual Machine. It comes with a subset of the Java Platform, Standard Edition , Java API, and tools needed to provide a Java runtime environment. Like most other Free Java virtual machines, Kaffe uses GNU Classpath as its class library.Kaffe, first released...

  • SableVM
    SableVM
    SableVM is a clean room implementation of Java bytecode interpreter implementing the Java virtual machine specification, second edition.SableVM was designed to be a robust, extremely portable, efficient, and fully specifications-compliant Java Virtual Machine that would be easy to maintain and to...

  • JamVM
    JamVM
    JamVM is an open source Java Virtual Machine developed to be extremely small compared with other virtual machines while conforming to the Java virtual machine specification version 2 ....

  • Apache Harmony
    Apache Harmony
    Apache Harmony was an open source, free Java implementation, developed by the Apache Software Foundation. It was announced in early May 2005 and on October 25, 2006, the Board of Directors voted to make Apache Harmony a top-level project...

  • Jikes
    Jikes
    Jikes is an open source Java compiler written in C++. It is no longer being updated.The original version was developed by David L. "Dave" Shields and Philippe Charles at IBM but was quickly transformed into an open source project contributed to by an active community of developers. Initially hosted...

  • C to Java Virtual Machine compilers
  • Free Java implementations
    Free Java implementations
    Free Java implementations are software projects that implement Oracle's Java technologies and are distributed under free software licences, thus making them free software...


External links
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK