Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bit-ranger/java-repl
- Owner: bit-ranger
- Created: 2019-10-11T06:56:15.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T14:07:02.000Z (over 3 years ago)
- Last Synced: 2024-03-28T20:52:43.785Z (9 months ago)
- Topics: compile, compile-and-run, java
- Language: Java
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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