basic-java-compile
Run java files that work with the scanner in a command prompt
Alden Howard 20,881 0 0.5.0 MIT GitHub

Basic Java Compile

This package provides a simple shortcut to compile and execute standalone java files. Unlike other packages that support java file execution, the goal of this package is to support standard I/O with the scanner.

Setup

  • Install the package
  • Set JAVA_HOME in your environment variables (e.x: C:\Program Files\Java\jdk-x.x.x for Windows or just / on Linux for open-jdk)
  • Start running projects using the context menus or keybinds

If JAVA_HOME is not set you will need to set it in the basic-java-compile settings

Keybinds

  • Ctrl-Alt-R : Run java file
  • Ctrl-Alt-Shift-R : Run java file (standalone; does not generate class files)
  • Ctrl-Alt-X : Stop
  • Ctrl-Alt-S : Show console
  • Ctrl-Alt-M : Hide console

Settings

  • Java Path: Set your java path here if it is not in JAVA_HOME
  • Debug: Toggle to provide information about the file on compile
  • Text Size: The font size in the panel
  • Panel Height: The height of the panel

Questions? Comments? Bugs?

Submit a request at my GitHub repository