0

hi friends,
i am doin a project named online compiler.
the basic idea is to compile a program online.
i am well acquinted with core java but not with web technologies.
i know the basics of jsp n planning to do the project in jsp.
i know how to compile source inside another java code
example

import javax.tools.JavaCompiler;
import javax.tools.ToolProvider;
public class CompileHello {
    public static void main(String[] args) {
        JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
        int result = compiler.run(null, null, null,"src/hello.java");
        System.out.println("Compile result code = " + result);
    }
}

the estimated time to complete the project is abt 1 month .
i need all ur guidance to properly guide me through or give me a through idea of how this thing could be done

Edited by peter_budo: Please use tags as [code]YOUR CODE HERE[/code]

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by muusa
0

all you have to do is upload the code to your server via the jsp and then compile it on the server. Be aware of the security risk involved in what you are trying to do (if you indent to run the compiled code on the server)

-1

i am willing to do same project please give me some way to start it

0

hey sam i already sucessfully completed the project .just mail me ur info at [removed] ,would be very happy to help u out

Edited by Ezzaral: Removed email address.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.