Skip to content
This repository has been archived by the owner on Sep 12, 2022. It is now read-only.

Setting Up Eclipse for SPARCK

maybites edited this page Mar 18, 2020 · 3 revisions

If you need to edit the java externals for SPARCK, you can use the Eclipse IDE for this.

  1. download Eclipse: https://www.eclipse.org/downloads/
  2. Install the Standard Eclipse setup
  3. Open Eclipse and choose a suitable folder as a workspace on you disk. (shouldn't be inside the sparck repo)
  4. Import the Eclipse project into your workspace:
    1. Right-click into the Package Explorer and choose 'Import..'
    2. Choose 'General/Projects from Folders or Archive' -> Next
    3. Press 'Directory...' and choose the /externals/java folder.
  5. Create the needed UserLibraries
    1. open Eclipse Preferences (On OSX: Menu > Eclipse > Preferences.., On WIN: Menu > Window> Preferences.., )
    2. navigate to Java > Build Path > User Libraries
    3. create the SparckLibraries
      1. Press New..
      2. Enter 'SparckLibraries'
      3. Select the newly created library
      4. Press Add External Jars..
      5. Navigate to /sparck/java-classes/lib and choose
        • commons-net-3.6.jar
        • opencv-420.jar
        • PixelPusher.jar
        • toxiclibscore.jar
      6. fold open the openCV-420.jar, select native library and press Edit..
      7. Navigate to the /sparck/java-classes/lib folder and press Open..
    4. create the MaxMSPLibs
      1. Press New..
      2. Enter 'MaxMSPLibs'
      3. Select the newly created library
      4. Press Add External Jars..
      5. Navigate to ~/Documents/Max 8/Packages/max-mxj/java-classes/lib/ and choose
        • jitter.jar
        • jode-1.1.2-pre-embedded.jar
        • max.jar
    5. Press in the Preference Window on 'Apply and Close'

To test if you setup is complete: Press the 'Build All..' button in the top toolbar. Eclipse should now compile the java code and create the sparck.jar inside /sparck/java-classes/lib.

Clone this wiki locally