Installation guide for

Installing javaDraw in Replit

1. Download the JAR from the Releases Tab on GitHub.

2. Upload the javaDraw JAR into your project

3. Create a new file called ".replit" and paste the following command into its contents

run = "export CLASSPATH=\".:./*\"; javac -d .; java Main"

Please note that running for the first time could take a while as Replit indexes the javaDraw.jar file. Please be patient and let the program run its course. This will also solve any issues you experience with Replit highlighting classes such as Window as Unknown Symbol.

Last updated