Search:

Type: Posts; User: Sahil Arora

Search: Search took 0.08 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.
Results 1 to 6 of 6