Pagina 2 di 2 primaprima 1 2
Visualizzazione dei risultati da 11 a 14 su 14
  1. #11
    ci sono riuscito.
    mi mancava copiare una dll utilizzata da swt nella directory bin della jre.
    ringrazio tutti coloro che hanno cercato di darmi una mano. grazie ancora e spero che questa discussione possa aiutare qualcun'altro.

  2. #12
    Salve, poichè anche io ho un problema simile (il codice di errore è leggermente diverso, no swt-win32-3139 in java.library.path, credo manchi una diversa dll) vorrei sapere con più precisione come risolvere il problema. Oppure mi va bene anche un link ad un jar SWT completo o comunque la specifica dei file che devono esserci all'interno. Grazie mille a chiunque possa aiutarmi !!

  3. #13
    ecco cosa ho trovato nelle faq di un sito di cui purtroppo non ho l'indirizzo:

    Q: Why do I get the error "java.lang.UnsatisfiedLinkError: no swt-win32-3232 in java.library.path."?
    A: You need to place the SWT JNI libraries that allow Java to use the native widgets in a place where the Java Virtual Machine will find them.

    The SWT JNI libraries are included in the SWT download.

    A Java application can be informed of the location of the libraries in several ways:

    1. Set the library path in the VM launch arguments.

    In the Launch Configuration Dialog of eclipse select the Arguments page, and in the VM arguments field enter: -Djava.library.path={runtime-library-path} Where the runtime-library-path is the absolute path to the directory containing the native code library (see above).

    This solution means that the SWT libraries have to be manually added to every project that uses SWT.

    2. Set the library location in an environment variable.

    For Windows this is done by editing the PATH environment variable to include the above mentioned runtime-library-path.
    in Win 9X this is done by editing the Autoexec.bat file,
    on NT or 2K the variable is edited through My Computer > Properties > Advanced > Environment Variables.

    On linux/unix, modify the LD_LIBRARY_PATH environment variable to include the runtime-library-path.

    3. Copy the SWT library to a directory that is already on the Java library path. For example, the jre/bin directory.

    The disadvantage of this solution is that every time you upgrade eclipse you have to remember to copy the native code library.

    Starting with Eclipse 3.1, the SWT plugin that comes with Eclipse, includes the JNI libraries in the SWT jar. This was done to support OSGi and Eclipse RCP. If you are using the plugin you must extract the libraries to include them in the path.


    spero che ti possa aiutare a me è servito. ciao

  4. #14
    Grazie mille per l'aiuto ! stasera provo e speriamo che vada !!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.