https://github.com/thepuppetqueen57/javru
A program to run java files like they are class files
https://github.com/thepuppetqueen57/javru
code-runner cpp java kotlin
Last synced: 2 months ago
JSON representation
A program to run java files like they are class files
- Host: GitHub
- URL: https://github.com/thepuppetqueen57/javru
- Owner: Thepuppetqueen57
- License: mit
- Created: 2024-06-20T07:58:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-02T23:13:29.000Z (over 1 year ago)
- Last Synced: 2025-01-17T06:22:48.268Z (about 1 year ago)
- Topics: code-runner, cpp, java, kotlin
- Language: C++
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discontinued
This is useless. When I made this I had no idea about maven or gradle.
This has been archived.
# Javru
A little project I made to run .java and .kt files easily. test.java and test.kt is for testing the program.
# How to build from source
Make sure you have [gcc](https://gcc.gnu.org/releases.html) installed.
First download the source of javru and run `g++ main.cpp` in cmd or pwsh.
rename the exe to what you want the command to be. (the official command is javru)
Then make a folder in the c drive and name it whatever you want.
Put the exe in that folder
Press the windows key and type "environment variables" and click on the top result.
In that menu press environment variables then click PATH in system variables.
Then click edit and then new and paste in the path to the folder you made.
Then restart your terminal.
Then it should be done!
# How to install normally
Download the latest version from the releases tab and skip step 1, 2 and 3
# How to use
Very simple.
Make sure you have [the jvm and jdk](https://www.java.com) and [the kotlin compiler](https://kotlinlang.org/docs/command-line.html) installed
Then just go to a dir with a java file and run what you set the exe name as and then the name of your java file
# Disclaimer
This is a heavily modified version of [ts-node](https://github.com/Thepuppetqueen57/ts-node)