Is it possible to download a .jar?
If I downloaded the .class and java files could I also download these as .jar files from repl.
Answered by RYANTADIPARTHI (6025) [earned 5 cycles]
Yes it is try this:
javac -classpath .:./jars/ -d . Main.java java -classpath .:./jars/ Main
If you want to configure the "Run" action, you can define a .replit file in your project and add the following line.
run = "export CLASSPATH=\".:./jars/*\"; javac -d . Main.java; java Main"