Skip to main content
Jump to: navigation, search

Difference between revisions of "Lyo/prereqs"

< Lyo
(Prerequisites for Building Lyo Projects)
(Small updates on the Lyo environment and eclipse versions.)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
* [http://eclipse.org/m2e/ m2eclipse] for Maven support in the Eclipse IDE
 
* [http://eclipse.org/m2e/ m2eclipse] for Maven support in the Eclipse IDE
 
* '''Java 1.8'''
 
* '''Java 1.8'''
If you wish to use Java 1.6 or 1.7, you will need to install Antlr 3.2 (Lyo currently uses Antlr 3.5.1 which is incompatible with versions of Java prior to 1.8). If you use Java 1.7 or earlier, you will need to modify the .pom files to use Antlr 3.2 instead of 3.5.1.
+
Eclipse Mars.2 (4.5.4), installation package Eclipse IDE for Java EE Developers includes EGit, m2eclipse and the JARs required for Dynamic Web Modules, resulting in a single download that for OSLC4J development.
 +
 
 +
If you wish to use Java 1.6 or 1.7, you will need modify the Antlr dependency. Eclipse/Lyo currently uses Antlr 3.5.1 which is incompatible with versions of Java prior to 1.8. If you use Java 1.7 or earlier, you will need to modify the pom.sml files to use Antlr version 3.2 instead of 3.5.1.
 +
 
 +
<blockquote>
 +
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=472637 if you are interested in the details
 +
</blockquote>
  
 
===Information for older Lyo installations===
 
===Information for older Lyo installations===

Latest revision as of 10:14, 15 June 2016

Prerequisites for Building Lyo Projects

Eclipse Mars.2 (4.5.4), installation package Eclipse IDE for Java EE Developers includes EGit, m2eclipse and the JARs required for Dynamic Web Modules, resulting in a single download that for OSLC4J development.

If you wish to use Java 1.6 or 1.7, you will need modify the Antlr dependency. Eclipse/Lyo currently uses Antlr 3.5.1 which is incompatible with versions of Java prior to 1.8. If you use Java 1.7 or earlier, you will need to modify the pom.sml files to use Antlr version 3.2 instead of 3.5.1.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=472637 if you are interested in the details

Information for older Lyo installations

Prior to November 2015, Lyo required Java 1.6 or newer compiler and runtime. The Eclipse project settings have been set appropriately. If you are building outside of Eclipse, please use Java 1.6.

IBM JVM/JRE Users: There is an issue with older m2eclipse versions and the the IBM JRE. If you have see the error java.lang.NoClassDefFoundError: org.slf4j.impl.StaticLoggerBinder when running a Maven install, you either need to upgrade m2eclipse or copy a newer slf4j api jar into your JRE directory to work around the issue until it is fixed:
  • Download slf4j-1.6.2.zip and extract the zip.
  • Copy slf4j-api-1.6.2.jar from the slf4j distribution to the JAVA_HOME\jre\lib\ext directory
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=338252 if you are interested in the details

Back to the top