Installation Guide¶
GeckoCIRCUITS runs on Windows, Linux, and macOS. Follow the instructions for your operating system.
Prerequisites¶
Java 21¶
GeckoCIRCUITS requires Java 21 or later.
- Download Eclipse Temurin JDK 21
- Run the installer
- Verify installation:
Expected Output
Installation Methods¶
Method 1: Download Release (Recommended)¶
- Go to Releases
- Download the latest
GeckoCIRCUITS-x.x-<platform>.zip - Extract to your desired location
- Run the launcher script
Method 2: Build from Source¶
# Clone repository
git clone https://github.com/tinix84/GeckoCIRCUITS.git
cd geckocircuits
# Build with Maven
mvn clean package assembly:single -DskipTests
# The JAR is created at:
# target/gecko-1.0-jar-with-dependencies.jar
Maven Installation
If you don't have Maven installed:
Download from maven.apache.org and add to PATH
Method 3: Docker (REST API only)¶
The REST API server can be run as a Docker container (no GUI required):
# Quick start with docker-compose
docker-compose up -d
# Or pull and run manually
docker run -p 8080:8080 gecko-rest-api:latest
# Verify it's running
curl http://localhost:8080/api/v1/health
See the REST API documentation for full endpoint reference.
Running GeckoCIRCUITS¶
Using Launcher Scripts¶
Direct Java Execution¶
JVM Options
-Xmx3G- Allocate 3GB memory (adjust based on your system)-Dpolyglot.js.nashorn-compat=true- Enable JavaScript scripting-Dsun.java2d.uiScale=2- HiDPI scaling (add for 4K displays)
Verifying Installation¶
- Launch GeckoCIRCUITS
- Go to Help > About to verify version
- Open a sample circuit: File > Open > resources/tutorials/1xx_getting_started/101_first_simulation/ex_1.ipes
- Click Run (or press F5)
- If waveforms appear in the scope, installation is successful!
Troubleshooting¶
Common Issues¶
| Problem | Solution |
|---|---|
| "Java not found" | Ensure Java 21 is installed and in PATH |
| Application won't start | Check Java version: java -version |
| Blank window on Linux | Install libxrender1 libxtst6 |
| Slow on 4K display | Add --hidpi flag or -Dsun.java2d.uiScale=2 |
| Out of memory | Increase -Xmx value (e.g., -Xmx4G) |
WSL-Specific Issues¶
# Install X server support
sudo apt install x11-apps
# Set DISPLAY variable
export DISPLAY=:0
# Or for WSLg (Windows 11)
export DISPLAY=:0
export WAYLAND_DISPLAY=wayland-0
Next Steps¶
- Quick Start - Run your first simulation
- User Interface - Learn the application layout