Skip to content
Is it possible to download a .jar?
Profile icon

If I downloaded the .class and java files could I also download these as .jar files from repl.

You are viewing a single comment. View All
Profile icon

Yes it is try this:

javac -classpath .:./jars/ -d . 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 .; java Main"