eclipse RCP 2018-09 + OpenJDK 11 + tycho: how to package an application with the JRE? - eclipse-rcp

Currently I'm using tycho to build and package my eclipse RCP app with java 8 and eclipse 4.8, (JMSToolBox)
For windows distributions, the tycho build process "copies" the JRE v8 (Oracle) into the distribution package in the"jre"directory via an ant task
I'm in the process of upgrading to eclipse RCP 2018-09 and Java 11 (OpenJDK)
2 problems arise:
OpenJDK 11 does not provide a JRE OOTB. As I do not want to bundle the 300MB of the full JDK in the distribution, is there a way to embed only the equivalent of the JRE for java 11. With tycho itself? by building a specific JRE by using some JDK tools like"jlint"on the eclipse-rcp plugins used by my app?
Tycho and OSGI do not currently fully support Java 11, even with the java 11 plugin from the market place installed. See my other post on the subject here
I'm curious to find a running example of a tycho pom.xml file doing that

It seems that Adopt OpenJDK provides a JRE for Java 11
Example for Java 11 with J9 on Windows x64:
https://adoptopenjdk.net/releases.html?variant=openjdk11&jvmVariant=openj9#x64_win

Related

The Apache Tomcat installation at this directory is version 10.1.1. A Tomcat 10.0 installation is expected

I am trying to add Tomcat 10.1.1 in Eclipse Version: 2022-09 (4.25.0).
Is there a newer version of Eclipse which have latest Tomcat?
This was happening in older version of Eclipse IDE for Enterprise Java and Web Developers. This issue is corrected in the version 3.28 of Eclipse IDE for Enterprise Java and Web Developers.
If you have the Standard Edition of Eclipse, you can add
'Eclipse IDE for Enterprise Java and Web Developers'. This will add the version 3.22 of the software. You can then check for updates and update it to version 3.28

Java 16 unbound on Eclipse

I have Java JDK 16 installed on my computer and I've changed the JRE system library to JavaSE-16 in build paths of all of my Eclipse projects.
Here's the problem. I get errors saying that there are no compatible JREs installed in the workplace and some errors say that JavaSE-16 library is unbound. This happens despite installing Java 16 support from Eclipse Marketplace. Does anyone know a solution?
Eclipse IDE for Enterprise Java and Web Developers 2021-03 (4.19.0).
Java JDK 16.01.
Windows 10 Pro 64-bit.

what version of the Eclipse RCP we need to upgrade to along with Java 8

what version of the Eclipse RCP we need to upgrade to along with Java 8?
Eclipse Luna (4.4) is the first to fully support Java 8. This is the current version available from the Eclipse site

Installation of an IDE for Java EE

I would like to install an IDE for Java EE.
The problem is that I can't find a version of Eclipse or Netbeans that's compatible with JRE 7u51 (64bit), which is the one I have already installed.
I'm working with it in Eclipse (for Java SE not Java EE).
Can someone help me to find the suitable one?
You can download any IDE. Both will be compatible with your defined system pre-requisits. It's fine installing either Eclipse IDE for Java EE development OR Netbeans IDE for Java EE development!
You better have a look at these links for downloading the IDE's :-
Eclipse Downloads for Java EE
Netbeans IDE Download-Java EE

Eclipse not working with JRE8

I'm trying to use new feature of JRE8 like lambda expression but it causes an error. Is it because my IDE's version not supported? Here is my version of Eclipse.
Eclipse Java EE IDE for Web Developers.
Version: Kepler Service Release 1
Build id: 20130919-0819
Eclipse Kepler does not support the new Java 8 features. The Eclipse Newsletter says there is scheduled to be an update to the Eclipse JDT (Java Development Tools) when Java 8 is released in March.
There is some more detail on the JDT Java 8 Wiki