Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Lyo/prereqs"

< Lyo
m
(Small updates on the Lyo environment and eclipse versions.)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
* [http://eclipse.org/egit/download/ EGit] team provider for Git or the [http://git-scm.com/download Git command line package].
 
* [http://eclipse.org/egit/download/ EGit] team provider for Git or the [http://git-scm.com/download Git command line package].
 
* [http://eclipse.org/m2e/ m2eclipse] for Maven support in the Eclipse IDE
 
* [http://eclipse.org/m2e/ m2eclipse] for Maven support in the Eclipse IDE
* A 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.
+
* '''Java 1.8'''
 +
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===
 +
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.
  
 
<blockquote>'''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:
 
<blockquote>'''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:

Latest revision as of 11: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