Java compiler

This is a discussion on Java compiler within the Tech Board forums, part of the Community Boards category; Where could I get a simple java compiler? No IDE or other extra features needed, just a simple java compiler, ...

  1. #1
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318

    Java compiler

    Where could I get a simple java compiler? No IDE or other extra features needed, just a simple java compiler, which should be under 20mb. I have seen java decompilers, which are about 2-3mb-s so there should be some small java compilers too.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    The Java compiler is not large. The 64-bit Linux Sun Java5 compiler consists of 79k command line interface and the 6.7M tools JAR archive, which also contains most of the functionality of all other tools (javadoc, jar, ...).

    What's large is the standard library, which you need to compile anything. My rt.jar is 38M. There's no good way to get around that. You might be able to create a stripped-down version of the file (e.g. removing the complete java.awt and javax.swing stuff, along with some sun and com.sun stuff), and use that as the bootstrap jar for your compiler runs, but there's no guarantee it won't suddenly crash.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev C++ Compiler, Indentation?
    By Zeusbwr in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2004, 06:13 AM
  2. Which java compiler to install?
    By alphaoide in forum Tech Board
    Replies: 10
    Last Post: 09-02-2004, 12:49 PM
  3. lcc win32 compiler download problems
    By GanglyLamb in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-01-2004, 07:39 PM
  4. Analysis of Top Programming Languages Companies Need :: Inbelievable!
    By kuphryn in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 01-06-2003, 03:23 PM
  5. How Cool is Java
    By dukemarlon in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 11-28-2002, 04:24 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21