This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SV: gcj


Title: gcj
It appears to me that these sort of questions should be answered by a GCJ for Windows FAQ.
 
GCJ is not trivial to use. You'll have to hunt down a bit of information, work out some quirks, possibly modify your program to fit the limitations of GCJ.
 
If time is more important to you than money and contributing to the opensource community, you be be better off looking at commercial alternatives, e.g. http://www.excelsior-usa.com
 

Dear Friend,

   Please answer my following questions.

1. Does a program compiled into native executable
using gcj still require the presence of a jvm. If in
my program, I doesn't use awt or swing, can I
completely eliminate the big jre when distributing the
program ?

Yes. The minimum zipped size of a completely standalone program that does not require installation is ~700k under Windows.

I have a program that uses SWT, serial port communication and various odds and ends. 3.1MB zipped(will be 2.1MB) once I have a couple of things w.r.t. GCJ sorted.

 



2. Does gcj supports IBM swt on win and lin ?

Simple answer: yes.



3. Does the gcc runtime system has its own jvm ? Or
does I have to bundle a jvm with my app in order to
run it on the linux platform

Simple answer: GCJ compiles everything into standalone executables.

 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]