Make it work on 64-Bit Linux
Web Browser, Flash Player, HTML editor, Media player for Swing and SWT
Brought to you by:
chrriis
Hi, 64 bit Linux is not currently supported, is it?
Background: I'm making a Java-based OS that I want to show YouTube videos in.
Is the project still active? Thanks
Hi,
All you need is the 64 bit SWT for your operating system (Linux in your case). Download it and replace the one that is shipped. Note that the architecture needs to match the JVM one (32 bit vs 64 bit).
Hope this helps,
-Christopher
Wow, quick answer, thanks a lot.
I'm trying this (in DJ 1.0.3 preview): java -cp ../swt-gtk-4.7.3a/swt.jar -jar DJNativeSwing-SWTDemo.jar
But it still says this: NativeSwing[1]: Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
I got the SWT jar from here: http://ftp.fau.de/eclipse/eclipse/downloads/drops4/R-4.7.3a-201803300640/swt-4.7.3a-gtk-linux-x86_64.zip
Do I need to get the 32 bit native code out of the jar somehow?
Last edit: Stefan Reich 2018-06-03
This error means you do have a 32-bit SWT in your classpath: either you have 2 SWT versions in the classpath and the first one found is 32-bit, or the downloaded SWT is not 64 bit...
-Christopher