Chapter 1: Introduction
1-4: Building Electric from Source Code
1-4-5: Eclipse Access to the savannah.gnu.org Repository
Make sure you have Java 17 or later.
Install Eclipse:
Get it from
www.eclipse.org
Run it
Add Subversions to Eclipse:
Do:
Help / Eclipse Marketplace
Search for "Subclipse" and install it
Download Electric:
Do:
File / Import
Choose:
SVN / Checkout Projects from SVN
Repository is:
svn://svn.savannah.gnu.org/electric/trunk
In the choice of what to download, select the top-level ("electric")
Use the wizard:
Java / Java Project
Name the project "Electric"
After the files have been downloaded, delete "src/module-info.java" and "src"
Make the Electric project:
Do:
File / New / Java Project
Name it: "electricJava"
Use the location: "Electric/electric-java"
Right-click on the "electricJava" project and select
Properties
Select
Java Build Path
, then choose the
Libraries
tab
Select
Classpath
and click
Add External JARs
on the right
Choose these JAR files in the "Electric/Packaging" download:
slf4j-api, slf4j-jdk14, j3dcore, j3dutils, vecmath, jogamp-fat, jmf, bsh, jython
It may be advisable to rebuild at this point with
Project / Clean
Right-click the "electric-java" project and choose
Run As / Java Application
Choose the main class: "Electric (com.sun.electric)"
3D rendering will crash unless you add this to the VM Arguments:
--add-opens=java.desktop/sun.awt=ALL-UNNAMED
Previous
Table of Contents
Next