Web-Based Java Compiler Service 50
TheSync writes "Ronald Tschalär has set up a Web-based Java compiler service. Just type in your source file names and the JDK you'd like to compiler them with (1.1.8,1.2.2,1.3.1 or 1.4.1), and hit "compile." This makes getting started with Java easier, since you don't have to get the whole JDK."
"...compiler them with" (Score:1, Offtopic)
Re:"...compiler them with" (Score:3, Funny)
You must be new here.
Re:"...compiler them with" (Score:1)
Please enjoy your day.
Huh?? (Score:3, Insightful)
It seems to me that DLing the JDK would be much simpler
Re:Huh?? (Score:2)
I agree, this wouldn't be easier if the user was working with a single version. But it might be easier than downloading all of those versions of the JDK, if the user wants to try each one.
Offering compilation over the web has been around for a while. I don't know why this is news.
Do not try them all! (Score:4, Informative)
Of course, in the real world, bugs happen, and people need to use old versions of the JDK to work around them. But anybody who's working at that level is a sophisticated Java programmer, not a newbie. Such a person does need the whole JDK!
That's the theory (Score:4, Informative)
The obvious solution is to provide some kind of download manager (as Netscape and Real now do). Or organize the Java SDK into smaller independent packages. Or allow outsiders to start up mirror sites overseas. Or... But life at Sun is full of politics and bureaucracy (which is why I no longer work there), and getting even the simplest solution in place is like pulling teeth.
Re:That's the theory (Score:2)
Re:That's the theory (Score:2)
Re:That's the theory (Score:2)
Re:That's the theory (Score:2)
makefile? (Score:2)
Don't need no stinkin' memo! (Score:3, Interesting)
RTFM yerslef (Score:2)
RTF what M? All the docs say is, "run the installer". I run the installer, which is some weird homebrew thing. I end up with a .BAT file that runs a complicated java.exe command. This command fails because it can't find the entry point class. This may have something to do with the installer assuming that my system disk is C: when it's actually F:. Call me lazy, but I can't be bothered to debug this.
I h
Re:RTFM yerslef (Score:2)
Re:Huh?? (Score:2)
T-minus 10ns to Slashdotting... (Score:4, Funny)
Ok, this guy is offering *compilation* services over the web.
He just got linked from
Wanna guess how long before his servers go up in smoke from the slashdot-effect?
Still up (Score:2)
56K (Score:1)
1. javac *.java
Bad command or file name
Not everybody has the patience to download 30 MB of JDK software over a 56K connection.
Re:56K (Score:2)
Re:56K (Score:1)
In many areas, high-speed Internet access comes with a $200,000 setup fee [pineight.com].
Be careful! (Score:5, Interesting)
insertRootExploit($file);
}
Strikes me (Score:3, Insightful)
Compiling 5 files will only get you the most trivial of examples in any case.
If you are only starting out there are many books available which come with a copy of a JDK, as do many IDE's such as IDEA and JBuilder. This would be better place to start. Trying to learn by remote compiling sound like a very painful experience to me.
Re:Strikes me (Score:1, Insightful)
Re:Strikes me (Score:1)
The next morning I woke up and installed it. Total PERSONAL time? 10 minutes max.
You really don't have to watch the progress bar when the file's coming in. I suggest doing something more constructive like, spending time with a girl! (or guy if that's your preference)
Re:Strikes me (Score:1)
Or anything else for that matter...
Are people that lazy? (Score:2, Informative)
the older jdk's are smaller, but it's still 8-10 megs for jdk1.1.8. Plus it's hard to find the link on Sun's jdk archive site. the page is useful, but you'd be better of d/l the jdk or buying a java book that comes with the jdk.
jikes (Score:3, Informative)
jikes website [ibm.com]
The JRE includes the same huge libraries that the JDK has, so there isn't much point in downloading the JRE on its own anyway
news? (Score:1)
BTW, I used it because at high school I didn't have access to install a java compiler.
Interesting... (Score:3, Informative)
Just some random thoughts.
DJ Delorie has had a public access compiler [delorie.com] up for years. It's based on DJGPP. You could type in a little snippet of source code and get a DOS-extended executable. But you couldn't use C++ and you couldn't set the compiler flags. Probably just as well.
This kind of service is primarily useful for very small programs. If your Java program is ten lines long, and you have the JRE, this kind of web service is much better than downloading a 40 megabyte compiler. However, I would prefer to download the source for the service and have it on an internal (or secure) webserver that I can control. Java's libraries are large enough that maybe some pretty short programs can do useful things. On the other hand, you usually have to call dozens of functions for even simple stuff.
This is also made possible by the fact that the compiler is not Turing-complete or anything. Languages like Forth and Common Lisp can be compiled to produce executables, but they make the runtime available at compile time, so you could theoretically write code to open up /etc/passwd and e-mail you a copy during the compile. Even simpler, you could just allocate huge gobs of memory at compile time and try to bring the server down. Here, Java's lack of macros and #include, which to me is usually a disadvantage, can turn into an advantage.
Web Services and Licensing (Score:2)
It seems all the comments here are of the "too lazy to download the JDK" variety, so I'm giving up moderation to chime in...
I think this raises many issues surrounding the web service model. Sure this particular instance is just an HTML upload form, but suppose he'd wrapped this service up and exposed it via SOAP...it's now possible to programatically use this licensed application remotely while it's only "installed on a single machine", etc.
Have any licenses touched on the idea of web services? Can I
Why not Run the compler as an applet on the user's (Score:2)
In order to work the appl