Forrest logo
back to context overview

javac

List of commands for javac:

  • javac:tldr:0fed6 javac: Compile a `.java` file and place the resulting class file in a specific directory.
    $ javac -d ${path-to-directory} ${file-java}
    try on your machine
    explain this command
  • javac:tldr:3adc2 javac: Compile several `.java` files.
    $ javac ${file1-java} ${file2-java} ${file3-java}
    try on your machine
    explain this command
  • javac:tldr:b5794 javac: Compile a `.java` file.
    $ javac ${file-java}
    try on your machine
    explain this command
back to context overview