Run Java

Compile and run Java source code directly. Paste a class with a 'public static void main' method; it is compiled with javac and run with java, and its stdout is captured. (To run a .jar instead, use Run CMD: 'java -jar file.jar'.)

Programs & ProcessesRunJava

개요

Run Java은(는) AutoFlowRPA의 Programs & Processes 카테고리에 속한 노코드 자동화 단계입니다. 워크플로가 도달하면 한 단계로 작업을 수행합니다. 6개의 매개변수를 설정해 동작 방식을 정확하게 제어할 수 있습니다. 비주얼 빌더에서 워크플로로 끌어다 놓을 수 있는 340개 명령 중 하나이며, 스크립트가 필요 없습니다.

기능 소개

Compile and run Java source code directly. Paste a class with a 'public static void main' method; it is compiled with javac and run with java, and its stdout is captured. (To run a .jar instead, use Run CMD: 'java -jar file.jar'.)

파라미터

파라미터유형필수기본값설명
Java codemultiline
필수Full Java source with a main() method. Variables are supported: {{{name}}} markers are replaced with their value before compiling.
예시: public class Main { public static void main(String[] args) { System.out.println("Hello {{{userName}}}"); } }
변수 지원
Extra classpathstring
선택Optional libraries/JARs to compile and run against (passed via -cp).
예시: C:/apps/lib/*
변수 지원
Program argumentsstring
선택
변수 지원
java executablestring
선택javaPath to 'java'; defaults to 'java' on PATH.
변수 지원
javac executablestring
선택javacPath to 'javac' (the JDK compiler); defaults to 'javac' on PATH.
변수 지원
Store stdout invariable
선택
예시: output

Run Java 사용 방법

  1. 1

    AutoFlowRPA를 열고 Programs & Processes 그룹에서 Run Java 명령을 캔버스로 드래그하세요.

  2. 2

    사이드 패널에서 파라미터를 설정하세요 — Run Java에는 설정 가능한 항목이 6개 있습니다.

  3. 3

    워크플로에 연결한 뒤 Run을 누르세요. 모든 작업이 내 컴퓨터에서 로컬로 실행됩니다.

자주 묻는 질문

Run Java 명령은 무엇을 하나요?

Compile and run Java source code directly. Paste a class with a 'public static void main' method; it is compiled with javac and run with java, and its stdout is captured. (To run a .jar instead, use Run CMD: 'java -jar file.jar'.)

Run Java 명령은 어느 그룹에 속하나요?

Run Java은(는) Programs & Processes 그룹에 속합니다. AutoFlowRPA는 코드 없이 조합할 수 있는 340개 이상의 바로 쓰는 명령을 제공합니다.

Run Java 명령에 파라미터가 있나요?

네 — Run Java에는 설정 가능한 항목이 6개 있으며, 모두 비주얼 노드 에디터에서 편집할 수 있습니다.

더 많은 Programs & Processes 명령

번거로운 업무를 자동화할 준비가 되셨나요?

오늘 30일 무료 체험을 시작하세요. 신용카드도, 약정도 없습니다.