Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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)