Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bit-ranger/java-repl

java编译运行 / java repl
https://github.com/bit-ranger/java-repl

compile compile-and-run java

Last synced: about 1 month ago
JSON representation

java编译运行 / java repl

Awesome Lists containing this project

README

        

## java repl

java 在线调试, 提交代码后, 系统将自动编译并运行代码

本系统基于webflux, 为反应式web应用

### 配置

参考application-dev.yml

### 部署

1. mvn package runner 打包成jar

2. 修改 server/src/resources/application.yml 中 runner.jar-path

3. 修改 server/src/resources/application.yml 中 work-dir

4. mvn package server, jar为可执行web程序

5. 将doc/structure.java放入work-dir

6. 在work-dir中创建目录target

7. 解压server.jar, 将BOOT-INF/lib放入work-dir, 将BOOT-INF/classes放入work-dir

8. 配置环境变量 JAVA_HOME=jdk根目录

9. 启动server, java -jar server.jar --spring.profiles.active=dev