Skip to content

Repository files navigation

Java IDE

This project has two parts:

  1. compile: A web service that compiles Java code.
  2. web: A simple one page website that provides a code editor for writing and executing Java code.

Note

  1. Both projects are JDK 11 based Spring Boot projects and can run both on Windows and Linux.
  2. compile-0.0.1-SNAPSHOT.jar and web-0.0.1-SNAPSHOT.jar are pre-built versions of the 2 projects mentioned above.
  3. To rebuild the projects run mvn clean install inside the compile and web folders.
  4. After running the above command, a folder named target will be generated. There you will have your newly built JAR file.

How to run?

  1. Install JDK 11.
  2. Add JDK 11 to the path.
  3. Extract java_ide.zip.
  4. If on windows then place java_ide folder in D drive. (Path: D:\java_ide)
  5. If on linux then place java_ide folder at root or "/" and grant full privilege, i.e., sudo chmod 777 java_ide.
  6. There are 2 JAR files in this repository compile-0.0.1-SNAPSHOT.jar and web-0.0.1-SNAPSHOT.jar.
  7. Open 2 terminal windows in the folder were you have these JARs.
  8. Run java -jar compile-0.0.1-SNAPSHOT.jar in one terminal and in the other run java -jar web-0.0.1-SNAPSHOT.jar.
  9. Open browser and visit http://localhost:5600/.
  10. Sample Java code snippets are provided in snippets.txt for testing purposes.

About

Simple code editor for running Java codes.

Resources

Stars

Watchers

Forks

Contributors

Languages