·  Ultra Edit – Environment – Tool Configuration – JAVA

 

- Info: 

  - This tutorial demonstrates how to use Ultra Edit Tool Configuration to compile and run JAVA programms.

 

- Create tool for compiling .java source code:

  - Advanced – Tool Configuration

  - Command Line:     C:\Install\JDK142\bin\javac %f

  - Working Directory:  %p

  - Menu Item Name:   JAVAC

  - Command Output:  Output to List Box          (Output is shwon in: Window – Output Window)

  - Capture Output:    select

  - Insert

 

- Create tool for executing .class:

  - Advanced – Tool Configuration

  - Command Line:     C:\Install\JDK142\bin\java "%n"

  - Working Directory:  %p

  - Menu Item Name:   JAVA

  - Command Output:  Output to List Box          (Output is shwon in: Window – Output Window)

  - Capture Output:    select

  - Insert

 

- Create source code:

  - File – New – Paste test.java

  - File – Save as – File name: test.java – Save

 

- Compile & Run:

  - Advanced – JAVAC

  - Advanced – JAVA

 

    test.java

    public class test {

    

      public static void main(String[] args) {

        System.out.println("Hello world.");

      }

    

    }