[java] Java compiler?
You can''t. Java is a "managed" language. It doesn''t compile to object code. You must have the JVM and supporting library of classes that go with it, or even a "hello world" program wouldn''t run. A java compiler by itself is useless.
quote:Original post by tortoise
You can''t. Java is a "managed" language. It doesn''t compile to object code. You must have the JVM and supporting library of classes that go with it, or even a "hello world" program wouldn''t run. A java compiler by itself is useless.
There''s always GCJ (the GNU Compiler Collection''s Java front end). It supports most of Java (some widget set stuff might still be missing, but overall it''s pretty complete), and can output to either bytecode or native object code. It includes an interpreter (not in any way a JIT) so that the native object code can still use bytecode type stuff. It was easy enough to install in Debian, probably only a little harder in Cygwin, but I don''t know about setting it up with an IDE and such in Windows (if that''s what you want to do...).
Well yeah, there''s lots of neat things out there. But GCJ isn''t something I''d recommend to someone just starting out in Java. I wouldn''t even recommend something like Kaffe. I''d be willing to bet GCJ is a pretty hefty download too.
Sorry kylevision, just one of the downsides to Java. I really hate the fact that my user has to download a 15 meg JRE just to play my game.
Sorry kylevision, just one of the downsides to Java. I really hate the fact that my user has to download a 15 meg JRE just to play my game.
quote:Original post by kylevision
The compiler alone was 29 M, where can I get just a command line type compiler?
Downloading java 2 sdk is all you need.
Look at sun's noob tutorials, they'll surely help you out.
PS: tortoise, is it really that much!?! (which extension is so big?)
[edited by - misterx on August 20, 2003 6:00:10 AM]
quote:Original post by misterX
Downloading java 2 sdk is all you need.
Yeah, that''s what he is complaining about. The SDK is about 40 megs. I think kyle was looking at the version that includes NetBeans, that''s around 77 megs.
quote:
PS: tortoise, is it really that much!?! (which extension is so big?)
The JRE download is about 13 megs. Yeah, it''s huge nowadays. But think about it, what functionality doesn''t the JVM provide? rt.jar alone is just over 25 megs.
quote:Original post by kylevision
The compiler alone was 29 M, where can I get just a command line type compiler?
Actually SDK it''s not just a compiler. It''s running enviroment too, bunch of demos, profiler, debuger... In comparison to BCC 5.5 it''s somewhat wonder.
SDK is 45 MB I know it becose I''m downloading SDK right now, by dial up and without download manager. Just few hours and I''ll get it here.
I
quote:Original post by tortoise
Well yeah, there''s lots of neat things out there. But GCJ isn''t something I''d recommend to someone just starting out in Java. I wouldn''t even recommend something like Kaffe. I''d be willing to bet GCJ is a pretty hefty download too.
Sorry kylevision, just one of the downsides to Java. I really hate the fact that my user has to download a 15 meg JRE just to play my game.
DirectX 9 is 9 to 14 MB. Offline installer of DirectX 9 is 35 MB. Sucurity update of windoze is 11 MB. If someone would like to run program on new computers he should expect some kind of update.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement