Hi,
I tried to create an aarch64 build of our Eclipse RCP application (which is not yet based on Eclipse e4).
The windows and linux build works as a charme!
I added to following environment to our parent target-platform-configuration:
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>aarch64</arch>
</environment>
The build runs successfully and creates a nice zip file:
de.alamos.monitor-linux.gtk.aarch64.zip
I have the latest raspian with 64bit support:
Linux raspberrypi 5.10.2-v8+ #1385 SMP PREEMPT Wed Dec 23 12:00:51 GMT 2020 aarch64 GNU/Linux
After unzipping the zip and I made the start file executable:
Now I tried to start the application:
pi@raspberrypi:~/Downloads/am4/de.alamos.monitor-linux.gtk.aarch64 $ ./start
bash: ./start: Datei oder Verzeichnis nicht gefunden
Unfortunately, there is an error which says, that the file or directory could not be found.
Next, I tried to start the launcher directly:
java -jar plugins/org.eclipse.equinox.launcher_1.6.0.v20200915-1508.jar
After a couple of seconds, the start fails and generates a nice error file (see attached file).
The error is obvious (or not?):
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.SWTError cannot be found by org.eclipse.ui.workbench_3.122.0.v20201122-1345
The weird thing ist, that actually there is a swt aarch64 jar in my plugins directory:
/home/pi/Downloads/am4/de.alamos.monitor-linux.gtk.aarch64/plugins/org.eclipse.swt.gtk.linux.aarch64_3.115.100.v20201202-1103.jar
Am I missing something?
Do you have any idea, why the application wont start?
I attached the target file definition.
Thanks for your help!!
Simon