Help
Setup and troubleshooting
Mac 0.5.85: Apple Silicon, macOS 12.0+.Windows: x64, Windows 10 (build 19041) or later. Install Zero from Microsoft Store.
About this guide
Use this guide to install Zero and start your first project. Follow the tutorials to build in Java, learn to read documentation, practice GitHub workflows, and publish an app others can open in their browser.
Start here
- Download Zero from the Zero homepage.
- On Mac, open the downloaded DMG and drag Zero into Applications.On Windows, open the installer and follow its prompts.
- Open Zero and allow it to finish setting up. An internet connection is needed for the first setup and to download project dependencies.
- Connect GitHub before creating a project. On the Start Page, choose Sign in to Zero or Connect to GitHub, whichever Zero shows, and follow the browser prompts. If Zero asks you to install its GitHub App, choose the repositories Zero may access.
- Choose Zero Docs to open the latest lessons. If the button is already enabled, you can read the lessons before connecting GitHub.
- Choose Project → New, then follow the lesson to add its starting code.
In an older released Zero, choose Tutorial options → Tutorial docs to open the lessons without signing in.
Already have a project? On the Start Page, choose Project → Open to open a local project, or Project → Clone to download your GitHub repository.
During the soft rollout, update Zero as soon as an update is offered. On Mac,
choose Zero: Check for Updates from the Command Palette. For the Microsoft
Store edition, open Microsoft Store and check for updates in Downloads. If your
school provides a Portable copy, ask your teacher or school IT for the latest kit.
If an old tutorial project stops building after an update, start a fresh project
and use the lesson’s final source to bring it back to the same point.
Before lesson 0: GitHub and privacy
Lesson 0: Back to Zero can be read without a project or account. To create and save a tutorial project, use your own GitHub account. Follow any applicable device and network policies. Keep passwords, tokens and other private information out of your project files.
Repositories created through Zero are public. Publishing an app also makes the app and its included assets public. Review what you share first.
One-time setup
Zero prepares its editor and Java tools when you open the app. If setup cannot finish, check your internet connection and open Zero again. On a managed device, your device administrator can help with installation or network access.
On Mac and Windows, the Zero app prepares Git for creating and cloning projects. It reuses a compatible copy when one is available. On Mac, Zero includes a private copy, so students can skip Xcode and its Command Line Tools. On Windows, Zero downloads Git when needed.
For other installation options, use the instructions included with the download you chose.
Edit and run
- Open a project and select a file in Project Explorer.
- Make a change and choose Run. For a game, click its canvas before using the keyboard.
- If a build fails, read the message in Zero or the terminal, fix the code and try again.
To find Zero again, open the Command Palette with Cmd+Shift+PCtrl+Shift+P. Type Zero: Show Sidebar, Zero: Show Project Explorer, Zero: Start Page, or Zero: Tutorial docs. Back to Zero walks through these steps.
Your GitHub repository
Check the repository and branch shown in Zero. Save your files, enter a message and choose Commit to save a checkpoint on this computer. Choose Sync to send your saved commits to GitHub. Open your repository and check that the matching branch shows your commit.
If sign-in or access fails, check your internet connection, sign in again and follow Zero's prompts. If GitHub asks which repositories the Zero GitHub App can access, include the repository you want to use.
Your individual workflow
- In the Project panel, click the current branch name and choose New branch…. Enter a name for the change.
- Edit and Run. When the change works, choose Commit, then Sync. The first Sync creates the matching branch on GitHub.
- Choose Merge beside the branch name and confirm the merge into main. Zero sends the merged main to GitHub and keeps the feature branch. If there is a conflict, resolve it in Source Control and test again.
The Pet tutorial practises this flow with a small experiment you can discard before committing.
Publish your playable app
Run and test your app first. Check that the tested version is on GitHub main. If you edited on main, choose Commit, then Sync. Choose Publish & open app from the arrow beside Run and follow the prompts. The published app and its included assets are public. Wait for the browser to open, then test the published version.
Troubleshooting
- Can't find the sidebar or Start Page? Follow Back to Zero.
- It looks like VS Code? That is expected. Open the Zero app so it loads the Zero tools. If the controls are missing, use the Command Palette commands above.
- Zero won't open or finish setup? Check your internet connection, close Zero and open it again. If needed, download the installer again.
- Run fails? Read the error in Zero or the terminal and check the code and project files. Use Troubleshooting → Test installation to check the bundled example separately.
- “JavaFX runtime components are missing”? Use Zero's Run instead of the Java debugger. It uses the project's JavaFX dependencies. If that fails, use Test installation.
- Zero could not prepare Git? Fully quit Zero and VS Code, then reopen the Zero app. On Windows, connect to the internet so Zero can download Git if needed. If a school laptop blocks the download, ask school IT for help. Older Zero releases and manual ZIP setups need a working Git installation. If GitHub already has your project, choose Clone from GitHub and select the existing repository.
- The starter version differs? Update Zero, then try Project → New again. If it persists, tell your teacher which version you have.
- Some browser tools are missing? Choose Repair and continue in the Zero sidebar when it appears. Zero repairs the saved tools and resumes the browser action.
- Publishing needs newer browser tools? Choose Update Browser Tools when prompted, then test your app and review the changed files before committing. Zero keeps the previous tools in a local backup and leaves your Java and assets unchanged. If the tools cannot be updated, keep a backup and copy your Java and assets into a new project.
- A merge fails? Open Source Control and share the error with your teacher.
- GitHub says “Sudo authentication failed” after you enter the emailed code? On GitHub’s Confirm access page, try another verification method if one is offered. If the email code keeps failing, try resetting your GitHub password. Then return to Zero and reconnect the same GitHub account.
- GitHub actions fail? Check that you are signed in, the repository is accessible, and your connection is working. Zero displays the next action when it can identify the problem. If Git asks for your name or email, follow GitHub’s guide to setting your commit name and commit email.
- Need to update Zero? On Mac, use
Zero: Check for Updates.On Windows, follow the update instructions for the installer you used.