pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: help with running a Java program on NetBSD



On Thu, Sep 15, 2022 at 08:29:23PM +0100, Robert Swindells wrote:
> Porting SWT may not be as hard as it used to be, it seems to be split
> out from the rest of the Eclipse source tree now.
>
> I looked at porting Eclipse several years ago, the main issue seemed to
> be just the number of modules/bundles that needed their build files
> modifying to know about NetBSD.
> 
> Maybe add this to the projects list in the wiki.

I've just added a project:

http://wiki.netbsd.org/projects/project/java-swt/

Please flesh it out and/or add yourself as a contact.

> You could try running your app using Linux Java 17 to see if it works.

I've tried that, using wip/oracle-jdk17 (feel free to import if you
find it useful). I get further now:

***WARNING: GTK+ version too old (micro mismatch)
***WARNING: SWT requires GTK 3.20.0
***WARNING: Detected: 3.10.4

(PDF-Over:11628): Gtk-WARNING **: Theme parsing error: <data>:31:11: 'min-height' is not a valid property name
INFO  | main @ at.asit.pdfover.gui.Main | This is PDF-Over v4.4.1, running on amd64 Linux, powered by Oracle Corporation Java 17.0.4.1.
******************************************************************************
***                                                                        ***
***                    Welcome to the IAIK JCE Library                     ***
***                                                                        ***
*** This version of IAIK JCE is licensed for use within the MOA SP/SS      ***
*** and MOA ID context only. Any other use of this software is prohibited. ***
*** For details please see http://jce.iaik.tugraz.at/sales/licences/.      ***
*** This message does not appear in the registered commercial version.     ***
***                                                                        ***
******************************************************************************

INFO  | main @ a.a.p.g.w.s.PrepareConfigurationState | Loaded config from file : PDF-Over.config
/usr/pkg/java/oracle-17/bin/java: symbol lookup error: /home/wiz/.swt/lib/linux/x86_64/libswt-pi3-gtk-4950r5.so: undefined symbol: gtk_event_controller_set_propagation_phase

So it looks like our Linux emulation packages for GTK3 are too old.
 Thomas


Home | Main Index | Thread Index | Old Index