This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Java Online Compiler" Watch "Java Online Compiler" New topic
Author

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.

Regards
Khai Huat


if (!WorkHard){
System.out.println("Fail!!!");
}
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15657
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
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.

regards
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: http://aspose.com/file-tools
 
subject: Java Online Compiler
 
Similar Threads
On line help
Manifest file to jar
How to Unjar a JAR file without JDK and without winzip/winrar ??
Hibernate & Axis2
Determing the version of a jar