Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
HOW TO INSTALL PROCESSING + UNFOLDING Ubuntu (11.10) 1 Install Java Development Kit (JDK) Due to the license issues, JDK is not included in Ubuntu and many other distributions. • Check if you already have it installed. Open a terminal and type the following commands user@host:~$ javac version javac 1.6.0_26 user@host:~$ java version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26b03) Java HotSpot(TM) 64Bit Server VM (build 20.1b02, mixed mode) • If your output looks like previous (anything above 1.5.X) , you're good to go If it doesn't, you can: • Ubuntu/Debian: sudo addaptrepository ppa:webupd8team/java sudo aptget update sudo aptget install oraclejava7installer • RPM based distributions: ◦ Get the RPMs from http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9downloads-1859576.html In any case, before proceeding you must have java and javac tools pointed to Oracle/Sun Java Machine 2 Install processing • Go to http://processing.org/download/ • Get last stable release (direct link to 1.5.11 http://processing.googlecode.com/files/processing1.5.1-linux.tgz) • Extract to a location you want. Once extract, run processing under processing-1.5.1 • First time you run, Processing asks for your workspace (processing names it sketchbook). You can choose any, just keep it mind which one you chose. In this tutorial, we will go with default ~/sketchbook/ • Processing will start with an empty sketch just like the figure...cool! 3 Install unfolding maps • Download unfolding maps from www.unfoldingmaps.org. Direct link https://github.com/downloads/tillnagel/unfolding/unfolding_for_processing.zip • Remember your sketchbook location? Go there and create a subfolder named libraries. Extract the contents of the zip in a subfolder named unfolding. • Download and extract in the same libraries folder the GLGraphics library. Direct link: http://sourceforge.net/projects/glgraphics/files/latest/download • By now, you Processing sketchbook folder should look like this • Now let's see if it works. Restart processing, and paste in the empty document the code you can find in https://gist.github.com/3970106 • Press play (upper left corner). If you see a world map like the one in the following picture...Congratulations, you're done! • Note: If you see an error in the notification area (below your code) you probably need to verify if you libraries structure is like the one presented before)