PROGRAMMING

  MINTE9
REMEMBERS




Last update:   22-10-2021

Sublime Text

IDE - Integrated Development Environment software.
 
/**
 * Install Sublime Text (see reference) and ...
 * save new file /var/www/java/HelloWorld.java 
 * 
 */

class HelloWorld {

    public static void main(String[] args) {

        System.out.println("Hello World!");
    }
}
Choose the build system: Tools / Build System / JavaC
 
# Build Tools / Build (compile the program)

/var/www/java/HelloWorld.class # compiled file
Run the program
 
$ java HelloWorld 

// Hello World!
To compile and run at the same time save new build.
 
# Tools / Build System / New Build System ...  JavaCrun

{
  "cmd": ["javac \"$file_name\" && java \"$file_base_name\""],
  "shell": true,
  "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
  "selector": "source.java"
}

Questions    
Apache Ant
        A B C D E F
🔔
1/2