Skip to content

Instantly share code, notes, and snippets.

@ujhelyiz
Last active October 3, 2016 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ujhelyiz/002fabac702575cf33ab468656cfee09 to your computer and use it in GitHub Desktop.
Save ujhelyiz/002fabac702575cf33ab468656cfee09 to your computer and use it in GitHub Desktop.
Toolchain definition for VIATRA
<?xml version="1.0" encoding="UTF-8"?>
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<!-- The ID has to be exactly in this format -->
<id>JavaSE-1.7</id>
</provides>
<configuration>
<!-- Path to JDK; JRE will not work! -->
<jdkHome>/usr/lib/jvm/java-7-openjdk-amd64</jdkHome>
<!-- Boot classpath setting is required, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=461239#c5 -->
<bootClassPath>
<includes>
<include>jre/lib/*</include>
<include>jre/lib/ext/*</include>
<include>jre/lib/endorsed*</include>
</includes>
</bootClassPath>
</configuration>
</toolchain>
<toolchain>
<type>jdk</type>
<provides>
<!-- The ID has to be exactly in this format -->
<id>JavaSE-1.8</id>
</provides>
<configuration>
<!-- Path to JDK; JRE will not work! -->
<jdkHome>/usr/lib/jvm/java-8-oracle</jdkHome>
<!-- Boot classpath setting is required, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=461239#c5 -->
<bootClassPath>
<includes>
<include>jre/lib/*</include>
<include>jre/lib/ext/*</include>
<include>jre/lib/endorsed*</include>
</includes>
</bootClassPath>
</configuration>
</toolchain>
</toolchains>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment