Live-Code Quickstart
Get started by trying live code examples in Replit
Last updated
Was this helpful?
Get started by trying live code examples in Replit
Last updated
Was this helpful?
Let's get started! Below is a live demo REPL that is ready to run five simple demos. Go ahead and click the Green run button.
If you haven't already, go ahead and click the green run button at the top of the REPL window above.
Running this REPL compiles a small AndHow example, then runs it five times with different configurations. Take a look at the Main
class: It contains two AndHow Properties, NAME
& REPEAT_COUNT
. The values of these two Properties are used to print to System.out in the main method.
There is also an andhow.properties file - click the file icon on the left to see the list of files. The file has a value for both Properties. (You can click the file icon again to make the list go away).
Continue on to the Run 1 tab. . .
This REPL is hosted by Repl.it. You can work on the Console or the Shell without logging in, but you need to login with a free accont to work on a fork to modify code or files.
If you try to run commands on the console and get an error like this:
Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main
Your VM has timed out - Just click the green run button again to rebuild everything.
The User Guide has a suggested learning path - Happy trails!
&?!