Last active
May 23, 2018 07:50
-
-
Save avigail-oron/4c96aacbf087871929b2f978b7cdddac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Download Java 8 JRE from oracle's site | |
//Download Eclipse Mars | |
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/2/eclipse-cpp-mars-2-linux-gtk-x86_64.tar.gz&mirror_id=17 | |
//Changes in eclipse.ini: | |
//Change -Dosgi.requiredJavaVersion=1.7 to -Dosgi.requiredJavaVersion=1.8 | |
//Delete the line: -XX:MaxPermSize=256m | |
//Create eclipse.sh in eclipse dir with the following content (modify the JRE folder to match your own): | |
#!/bin/bash | |
export PATH="/opt/java/jre1.8.0_172/bin:$PATH" | |
cd /opt/eclipse/ | |
export SWT_GTK3=0 | |
./eclipse | |
//Run Eclipse as root | |
//Install PDE pugin: | |
Eclipse Menu -> Help -> Eclipse Marketplace... | |
//search for 'PDE' | |
//Install the 'Eclipse PDE 3.10 Luna' plugin | |
//Update Eclipse: | |
Eclipse Menu -> Help -> Check for Updates | |
//Build SGX Eclipse Plugin: | |
//Run: | |
export PATH="/opt/java/jre1.8.0_172/bin:$PATH" | |
export ECLIPSE_HOME=/opt/eclipse | |
export RELEASE_ID=Linux_SGX_1.5 | |
export DELETE_CURRENT_ECLIPSE=false | |
//The plugin is built in the SDK/PSW dir: | |
cd linux-sgx/Linux_SGXEclipsePlugin | |
./build.sh | |
//The plugin is built into: ./build_directory/updatesite/sgx-eclipse-plugin/Intel-sgx-eclipse-plugin.zip | |
//Installing the SGX plugin in Eclipse: | |
Eclipse Menu -> Help -> Install New Software... | |
Click 'Add...' button in top right corner | |
Click on 'Archive...' button | |
Browse to the SGX plugin zip file | |
Click Ok and install the plugin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment