Skip to content

Latest commit

 

History

History
88 lines (45 loc) · 3.65 KB

File metadata and controls

88 lines (45 loc) · 3.65 KB

Eclipse setup

Make sure you have run build FIRST.

Download This specific version of Eclipse

https://github.com/CommonWealthRobotics/ExternalEditorsBowlerStudio/releases

Setup Eclipse

Import The Source

Image 1

Select gradel and press next

Image 2

Enter where you downloaded the sources in the build step and press next

DO NOT press finish

Image 3

Override workspace settings and set the Java Home to where the build script put the JVM

Image 4

Now hit finish

Image 5

Once and only once per workspace, configure Eclipse

If you import and the build has build errors like this, you may have not yet configured eclipse

Image 6

Go to Window->Preferences

Image 7

Go to the Java->Installed JREs

Image 8

Click Add... and select Standard VM and press next

Image 9

Enter the directory where the build script extracted the JVM and hit finish.

Image 10

Set the JVM you added as default and delete any others

Image 11

Go to Java->Compiler->Errors/Warnings->Deprecated and Restricted and set Forbidden Reference to ignore

Image 12

got to Java->Compiler->Building->Build Path Problems and set incompatible required binaries to Ignore

Image 13

Go to Java->Compiler and set Compiler compliance level to 1.8

Image 14

Run CaDoodle

Right click on this file and Debug as Java Application

Image 15

Add the following:

-Dprism.dirtyopts=false -Dprism.forceGPU=true -XX:MaxRAMPercentage=95 --add-exports javafx.graphics/com.sun.javafx.css=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.event=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control.skin.resources=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.input=ALL-UNNAMED --add-opens javafx.graphics/javafx.scene=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism=ALL-UNNAMED --add-opens javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED --add-opens javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED --add-opens javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED --add-opens javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED --add-opens javafx.graphics/com.sun.javafx.camera=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.camera=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-opens javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED
 

to Debug->Debug Configurations->Java Application -> Cadoodle Main -> Arguments -> VM Arguments

Image 16

Image 17