top bar

Difference between revisions of "IntelliJ with GitHub"

(Created page with "; Install Community Edition of IntelliJ : https://www.jetbrains.com/idea/download/#section=windows ;Install the latest Micromanager 2.0 nightly : https://valelab4.ucsf.edu/~M...")
 
Line 2: Line 2:
  
 
;Install the latest Micromanager 2.0 nightly : https://valelab4.ucsf.edu/~MM/nightlyBuilds/2.0.0-gamma/Windows/
 
;Install the latest Micromanager 2.0 nightly : https://valelab4.ucsf.edu/~MM/nightlyBuilds/2.0.0-gamma/Windows/
 +
 +
The location of where you have micromanager 2.0 Gamma installed will be used for '''Working directory''' further down and for including the location of '''ij.jar'''.
  
 
;Install Adopt OpenJDK 8  
 
;Install Adopt OpenJDK 8  
Line 10: Line 12:
 
:[[File:Annotation_2020-04-15_104551.png|300px]]
 
:[[File:Annotation_2020-04-15_104551.png|300px]]
  
;New -> Project from Version Control.
+
;From IntelliJ menu, select '''New''' -> '''Project from Version Control'''.
  
 
[[File:Annotation_2020-04-15_104651.png|300px]]
 
[[File:Annotation_2020-04-15_104651.png|300px]]
Line 18: Line 20:
 
[[File:Annotation_2020-04-15_105034.png|300px]]
 
[[File:Annotation_2020-04-15_105034.png|300px]]
  
;Add ImageJ ij.jar and other jars from Micromanager's install directory.
+
;Right click on your projects name, and select '''Open Module Settings'''
 +
 
 +
[[File:Annotation_2020-04-15_115545.png|300px]]
 +
;Add ImageJ ij.jar and other jars from Micromanager's install directory
  
 
[[File:Annotation_2020-04-15_113304.png|300px]]
 
[[File:Annotation_2020-04-15_113304.png|300px]]
Line 27: Line 32:
  
 
;Select an Application Template, and then the '''+''' Sign
 
;Select an Application Template, and then the '''+''' Sign
:Main Class: ij.ImageJ
+
:'''Main Class:''' ij.ImageJ
:VM Options:  
+
:'''VM Options:''' -Xmx3000M -Dforce.annotation.index=true
:JRE: 1.8
+
:'''Working directory:''' C:\Program Files\Micro-Manager-2.0gamma
 +
:'''JRE: 1.8'''
  
 
[[File:Annotation_2020-04-15_110259.png|300px]]
 
[[File:Annotation_2020-04-15_110259.png|300px]]

Revision as of 08:58, 15 April 2020

Install Community Edition of IntelliJ 
https://www.jetbrains.com/idea/download/#section=windows
Install the latest Micromanager 2.0 nightly 
https://valelab4.ucsf.edu/~MM/nightlyBuilds/2.0.0-gamma/Windows/

The location of where you have micromanager 2.0 Gamma installed will be used for Working directory further down and for including the location of ij.jar.

Install Adopt OpenJDK 8
https://adoptopenjdk.net/
Fork Micromanager 2.0 Repository into your own GitHub Account and name it.
Annotation 2020-04-15 104551.png
From IntelliJ menu, select New -> Project from Version Control.

Annotation 2020-04-15 104651.png

Select the new github repository that was forked earlier

Annotation 2020-04-15 105034.png

Right click on your projects name, and select Open Module Settings

Annotation 2020-04-15 115545.png

Add ImageJ ij.jar and other jars from Micromanager's install directory

Annotation 2020-04-15 113304.png

Create a new Run/Debug Configuration

Annotation 2020-04-15 105409.png

Select an Application Template, and then the + Sign
Main Class: ij.ImageJ
VM Options: -Xmx3000M -Dforce.annotation.index=true
Working directory: C:\Program Files\Micro-Manager-2.0gamma
JRE: 1.8

Annotation 2020-04-15 110259.png

© Micro-Manager : Vale Lab, UCSF 2006-2011 | All Rights Reserved | Contact