I still got error. I tried to run this example: https://doc.qt.io/archives/qtjambi-4.5.2_01/com/trolltech/qt/qtjambi-hellowebkit-code.html
I put your file to root folder of project (same where I have pom.xml and src directory.) Is this right place? Or what would you do with the following error?
/usr/lib/jvm/java-8-oracle/bin/java -Djava.library.path=/home/rain/jthesis/org.eclipse.swt-3.3.2.jar -Didea.launcher.port=7532 -Didea.launcher.bin.path=/home/rain/idea-IU/bin -Dfile.encoding=UTF-8 -classpath /usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/home/rain/jthesis/target/classes:/home/rain/jthesis/qtjambi-4.8.7.jar:/home/rain/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-csv/2.7.0/jackson-dataformat-csv-2.7.0.jar:/home/rain/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.7.0/jackson-core-2.7.0.jar:/home/rain/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.7.0/jackson-databind-2.7.0.jar:/home/rain/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.7.0/jackson-annotations-2.7.0.jar:/home/rain/.m2/repository/org/projectlombok/lombok/1.16.6/lombok-1.16.6.jar:/home/rain/.m2/repository/info/cukes/gherkin/2.12.2/gherkin-2.12.2.jar:/home/rain/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/rain/idea-IU/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain HelloWebKit
java.lang.RuntimeException: Loading library failed, progress so far:
No 'qtjambi-deployment.xml' found in classpath, loading libraries via 'java.library.path'
Loading library: 'libQtCore.so.4'...
- using 'java.library.path'
at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:615)
at com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:455)
at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:346)
at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:342)
at com.trolltech.qt.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:55)
at com.trolltech.qt.internal.QtJambiObject.<clinit>(QtJambiObject.java:57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)
Caused by: java.lang.RuntimeException: Library 'libQtCore.so.4' was not found in 'java.library.path=/home/rain/jthesis/org.eclipse.swt-3.3.2.jar'
at com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:673)
at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:610)
... 8 more
java.lang.RuntimeException: Loading library failed, progress so far:
No 'qtjambi-deployment.xml' found in classpath, loading libraries via 'java.library.path'
Loading library: 'libQtCore.so.4'...
- using 'java.library.path'
Loading library: 'libQtCore.so.4'...
- using 'java.library.path'
at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:615)
at com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:455)
at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:346)
at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:342)
at com.trolltech.qt.core.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:8)
at com.trolltech.qt.core.QObject.<clinit>(QObject.java:13)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)
Caused by: java.lang.RuntimeException: Library 'libQtCore.so.4' was not found in 'java.library.path=/home/rain/jthesis/org.eclipse.swt-3.3.2.jar'
at com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:673)
at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:610)
... 8 more
java.lang.RuntimeException: Loading library failed, progress so far:
No 'qtjambi-deployment.xml' found in classpath, loading libraries via 'java.library.path'
Loading library: 'libQtCore.so.4'...
- using 'java.library.path'
Loading library: 'libQtCore.so.4'...
- using 'java.library.path'
Loading library: 'libQtCore.so.4'...
- using 'java.library.path'
at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:615)
at com.trolltech.qt.internal.NativeLibraryManager.loadQtLibrary(NativeLibraryManager.java:455)
at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:346)
at com.trolltech.qt.Utilities.loadQtLibrary(Utilities.java:342)
at com.trolltech.qt.gui.QtJambi_LibraryInitializer.<clinit>(QtJambi_LibraryInitializer.java:8)
at com.trolltech.qt.gui.QWidget.<clinit>(QWidget.java:18)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)
Caused by: java.lang.RuntimeException: Library 'libQtCore.so.4' was not found in 'java.library.path=/home/rain/jthesis/org.eclipse.swt-3.3.2.jar'
at com.trolltech.qt.internal.NativeLibraryManager.loadLibrary_helper(NativeLibraryManager.java:673)
at com.trolltech.qt.internal.NativeLibraryManager.loadNativeLibrary(NativeLibraryManager.java:610)
... 8 more
64
/usr/lib/jvm/java-8-oracle/jre/lib/charsets.jar:/usr/lib/jvm/java-8-oracle/jre/lib/deploy.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/cldrdata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jaccess.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunec.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-8-oracle/jre/lib/ext/zipfs.jar:/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jce.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfr.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jfxswt.jar:/usr/lib/jvm/java-8-oracle/jre/lib/jsse.jar:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar:/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar:/usr/lib/jvm/java-8-oracle/jre/lib/resources.jar:/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar:/home/rain/jthesis/target/classes:/home/rain/jthesis/qtjambi-4.8.7.jar:/home/rain/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-csv/2.7.0/jackson-dataformat-csv-2.7.0.jar:/home/rain/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.7.0/jackson-core-2.7.0.jar:/home/rain/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.7.0/jackson-databind-2.7.0.jar:/home/rain/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.7.0/jackson-annotations-2.7.0.jar:/home/rain/.m2/repository/org/projectlombok/lombok/1.16.6/lombok-1.16.6.jar:/home/rain/.m2/repository/info/cukes/gherkin/2.12.2/gherkin-2.12.2.jar:/home/rain/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/home/rain/idea-IU/lib/idea_rt.jar
Process finished with exit code 0