Menu

#14 Make it work on 64-Bit Linux

closed
nobody
None
1
2018-06-03
2018-06-03
No

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

Discussion

  • Christopher Deckers

    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

     
    • Stefan Reich

      Stefan Reich - 2018-06-03

      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
      • Christopher Deckers

        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

         
  • Christopher Deckers

    • status: open --> closed
     

Log in to post a comment.