JCGO: Download page

Get it, use it, contribute...

Getting JCGO

Attention: JCGO is not an easy-to-use tool for real-world applications, so, in case of problems while understanding JCGO, please contact the author. Softpedia 100% CLEAN award

The JCGO v1.16 distributive files (unpacked to "C:\JCGO" or "/usr/share/JCGO"):

Additional third-party libraries (if needed):

Notes:

  1. to get a more fresh version of JCGO please visit our JCGO development repository (and clone the Git repo or press "Download" button on that site for both "jcgo-lib" and "jcgo-src" tarballs);
  2. to get a fresh version of the external BDWGC library please visit BDWGC Git repository;
  3. to get a fresh version of the external libatomic_ops library please visit libatomic_ops Git repository;
  4. JCGO translates only programs compatible with JDK/J2SE v1.4;
  5. to run JCGO, you should download and unpack (to the same above-mentioned location) at least 3 distributive files (jcgo-src-1_XX.tar.bz2, jcgo-lib-1_XX.tar.gz and classpath-0.93.tar.gz);
  6. JCGO is a fully Open Source software;
  7. Files for downloading are also available at GitHub and Sourceforge sites.

Getting JCGO-SUNAWT (optional component)

JCGO-SUNAWT integrates Sun J2SE AWT/Sound/SQL with JCGO.

JCGO-SUNAWT is currently distributed under the license terms of the Sun SCSL (for Research use only).

The JCGO-SUNAWT core distributive files (unpacked to "C:\JCGO" or "/usr/share/JCGO"):

The JCGO-SUNAWT re-distributive files:

Prerequisite third-party SDK:

JCGO quick start tips (for Win32)

For those who want to try out JCGO right now without looking into the accompanying documentation, here are the simple steps:

  1. Download the core prerequisites:
  2. Create "C:\JCGO" folder
  3. Unpack all the prerequisites to C:\JCGO (preserving the directory structure)
  4. Run jcgo.exe (or java -jar jcgo.jar)
  5. Try to convert "Hello world" sample to Windows binary (unoptimized):
    • create your "projects" folders (e.g., "C:\MyJcgoProjects") and change the current directory to it;
    • type:
      C:\JCGO\jcgo -sourcepath $~\examples Hello @$~\stdpaths.in
    • invoke the MinGW C compiler (GCC):
      gcc -IC:\JCGO\include -IC:\JCGO\include\boehmgc -IC:\JCGO\native -DJCGO_FFDATA -o hello jcgo_Out\Main.c C:\JCGO\libs\x86\mingw\libgc.a
    • or, alternatively, invoke Visual Studio C/C++ compiler:
      cl -IC:\JCGO\include -IC:\JCGO\include\boehmgc -IC:\JCGO\native -DJCGO_INTNN -DJCGO_FFDATA -DJCGO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE jcgo_Out\Main.c C:\JCGO\libs\x86\msvc\gc.lib /link /out:hello.exe
    • run "hello.exe" file
  6. View "README" and "FAQ" files.

JCGO quick start tips for Linux/x86 development host

If Linux/x86 is your development host, launch jcgo.jar file on any J2SE v1.4+ VM.

Here are the quick start tips if you choose the Linux version of JCGO:

  1. Download the core prerequisites:
  2. Create "/usr/share/JCGO" folder
  3. Unpack all the prerequisites to /usr/share/JCGO (preserving the directory structure)
  4. Try to convert "Hello world" sample to a Linux/x86 binary (unoptimized):
    • create your "projects" folders (e.g., "~/MyJcgoProjects") and change the current directory to it;
    • type:
      java -jar /usr/share/JCGO/jcgo.jar -src $~/examples Hello @$~/stdpaths.in
    • invoke the GNU GCC:
      gcc -I /usr/share/JCGO/include -I /usr/share/JCGO/include/boehmgc -I /usr/share/JCGO/native -fwrapv -DJCGO_UNIX -D_IEEEFP_H -DJCGO_UNIFSYS -o hello jcgo_Out/Main.c -lm  /usr/share/JCGO/libs/x86/linux/libgc.a
    • run "./hello" file
  5. View "README" and "FAQ" files.

Archive (Old releases)

The following is still supported but not recommended for use:

Legal Disclaimer

All material on this web site is provided "as is" without warranty of any kind, either express or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose, non-infringement or arising from a course of dealing, usage trade or practice.

Java™ and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. All other trademarks and copyrights mentioned in this documentation are the property of their respective holders.