- Download the
swt
cocoa jar from here. - Go to JDKs
jmc
path (You can find this path by right-clicking onjmc
icon in the dock -> Options -> Show in Finder, Then right click on App -> Show Package Contents). For example:cd /Library/Java/JavaVirtualMachines/jdk<version>.jdk/Contents/Home/lib/missioncontrol # Back up exisiting jar using sudo mv plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.1.v20140903-1947.jar ../ # Copy downloaded zip's swt.jar using sudo cp ~/Downloads/swt.jar plugins/org.eclipse.swt.cocoa.macosx.x86_64_3.103.1.v20140903-1947.jar
- Restart
jmc
git clone https://github.com/aragozin/optaplanner-bench.git
git checkout jmc_workbench_0
mvn package
mvn -P ui exec:java
# Disable some JVM optimizations
MAVEN_OPTS=-Xmx512m -XX:+NeverActAsServerClassMachine -XX:CICompilerCount=1 -XX:-TieredCompilation -XX:-DoEscapeAnalysis
mvn -P mrbench exec:java
mvn -P mrprofile exec:java
git checkout jmc_workbench_1
git clone https://github.com/aragozin/proflab
git checkout hz_demo_step_1
mvn -P bench test