Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thepuppetqueen57/javru
A program to run java files like they are class files
https://github.com/thepuppetqueen57/javru
Last synced: about 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 (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-07T00:16:33.000Z (6 months ago)
- Last Synced: 2024-07-07T01:29:11.444Z (6 months ago)
- Language: C++
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)