Search:

Type: Posts; User: Sahil Arora

Search: Search took 0.07 seconds.

  1. Re: How to capture or save the output given by java program.

    In the above code you just need to write the path of jdk and path of file that contains the java code.


    File Name:Demo.java
    File Content:

    public class Demo
    {
    public static void main(String...
  2. Re: How to capture or save the output given by java program.

    i don't know exactly, i got this code from my friend even he doesn't know how it is working.
    Do you have any idea?
  3. Re: How to capture or save the output given by java program.

    i want to capture the output that goes to console.
  4. Re: How to capture or save the output given by java program.

    Is there any method in any API through which i can get the output of simple java program.
    Like there is a method Diagnostic.getDiagnostic() which returns a list of Compiler errors in a program.
  5. Re: How to capture or save the output given by java program.

    class Demo
    {
    public static void main(String arg[])
    {
    System.out.println("Yes!!!");
    }
    }


    Above code is written in a file Demo.java.
  6. How to capture or save the output given by java program.

    I want to save the output of a java program in a file.
  7. Re: How to compile java code on server side and then send back result to client.

    Thanks for replying, i got some solution.
  8. Re: How to compile java code on server side and then send back result to client.

    Suppose that student is writing code on the editor provided by me, now when he will press compile button at that time i want to copy that code on to text file and then send that file to server.
  9. Re: How to compile java code on server side and then send back result to client.

    My question is how compile button will work?
  10. How to compile java code on server side and then send back result to client.

    I am thinking to build a project for Online Test , in which i'll provide text area and console to candidates with two buttons compile and submit. When user will press compile button the code will be...
  11. Replies
    1
    Views
    892

    Introduction

    Hi everyone,
    I am Sahil Arora.
Results 1 to 11 of 11