File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Java Online Compiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Java Online Compiler" Watch "Java Online Compiler" New topic

Java Online Compiler

Koh Khai Huat
Ranch Hand

Joined: Aug 05, 2005
Posts: 100
Hi Guys,

Do you guys have any way to compile a JAR file online?

I mean do you guys know of any way to compile a JAR file through a website?
because for my project i need to compile a JAR file online and let the user download to their mobile phone. Thanks in advance.

Khai Huat

if (!WorkHard){
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

If you mean, do I know a website that will assemble a JAR, I don't. However it's not too much trouble to create such an app and deploy one on a website.

For a J2EE server, the java.util jar classes can be used. For non-java servers such as PHP or .Net, any app that can create a ZIPfile works, since a JAR is just a ZIP file with a META-INF/MANIFEST.MF file in it.

However, uploading a bunch of files to the server is such a pain that you might as well zip/jar them before even uploading, in which case what benefit would a server JAR service be? All you'd really need would be a server that downloaded JARs, and almost any web server can do that.

An IDE is no substitute for an Intelligent Developer.
Koh Khai Huat
Ranch Hand

Joined: Aug 05, 2005
Posts: 100
Tim Holloway,

Thanks a-lot for the help it helps a-lot. Now I know which direction i am heading. Just to clarify with you is that i can just overwrite a file (text file) in the JAR and it would just work??? or is there something else i need to change for the JAR file to work. Thanks in advance.

Khai Huat
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
This is a remote compiling service for those who would either like to develop applications and/or applets but aren't fortunate enough to have access to one of the platforms to which the JDK has been ported, or who just don't want to go through the hassle of installing the complete JDK. In addition to compiling you can view any compiled applets directly without having to download them to your site first; this should speed up debugging applets a bit.

JXXX Compiler Service

class AmazingGoogle extends Amazing implements Search
[ February 03, 2008: Message edited by: Nicholas Jordan ]

"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
I agree. Here's the link:
subject: Java Online Compiler
It's not a secret anymore!