eclipse bug

From: <>
Date: Sun, 13 Nov 2022 19:16:25 UTC

I have a FreeBSD System running on thinpad X200. All program works. 
Now I have installed FreeBSD on Thinkpad X230
I need the program dbeaver. I get the error message:

~> dbeaver
> Start DBeaver Standalone []
> Start Eclipse IDE UI Application [org.eclipse.ui.ide.application
> Start Eclipse Jobs Mechanism [
SWT Error: Failed to load swt-pi3, loading swt-pi4 as fallback.
An error has occurred. See the log file

The program 
swt-4.21                       Standard Widget Toolkit for Java
is installed.

The first lines from log file:
!SESSION 2022-11-13 20:10:39.244 --------
java.vendor=Eclipse Foundation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 4 0 2022-11-13 20:10:40.637
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.ide (151).
org.osgi.framework.BundleException: Exception in
org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start() of bundle

When I reinstall eclipse from ports, I get an error message:

portupgrade -N java/eclipse 
[INFO] org.eclipse.rt.osgistarterkit.product 4.24.0-SNAPSHOT SUCCESS
[INFO] equinox-sdk 4.24.0-SNAPSHOT ........................ SUCCESS 
[INFO] eclipse.platform.repository 4.24.0-SNAPSHOT ........ FAILURE
[INFO] platform-aggregator 4.24.0-SNAPSHOT ................ SKIPPED
[INFO] -------------------------------
[INFO] --------------------------------
[INFO] Total time:  36:47 min
[INFO] Finished at: 2022-11-13T10:31:45+01:00
[INFO] --------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-
plugin:3.0.0-SNAPSHOT:archive-products (archive-products) on projec
t eclipse.platform.repository: Error packing product: Problem creating
zip: Execution exception: Java heap space -> [Help 1]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
[ERROR] After correcting the problems, you can resume the build with
the command
[ERROR]   mvn <args> -rf :eclipse.platform.repository
*** Error code 1

make: stopped in /usr/ports/java/eclipse
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20221113-6730-cu4lyn env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! java/eclipse  (unknown build error)

uname -a 
FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64

What should I do? 
Do you need more information?
(I am not a java expert.)