2013-12-18 62 views
0

這裏我試圖將Vuze-SVN導入Eclipse。我遵循http://wiki.vuze.com/w/Using_Eclipse的說明。我想我解決了swt.jar版本問題,因爲我現在遇到的錯誤與以前的swt版本問題不同。當我嘗試運行AZ-SVN時:Vuze import Eclipse

file:/home/ozge/Documents/swt.jar ; file:/home/ozge/workspace/AZ_SVN/bin/ ; file:/home/ozge/workspace/AZ_SVN/azureus2/lib/apple-extensions.jar ; file:/home/ozge/workspace/AZ_SVN/azureus2/lib/swt-carbon.jar ; file:/home/ozge/workspace/AZ_SVN/azureus2/lib/swt-cocoa.jar ; file:/home/ozge/workspace/AZ_SVN/uis/lib/commons-cli.jar ; file:/home/ozge/workspace/AZ_SVN/uis/lib/junit.jar ; file:/home/ozge/workspace/AZ_SVN/uis/lib/log4j.jar ; file:/home/ozge/Desktop/comp491/swt-xosx.jar ; file:/home/ozge/workspace/AZ_SVN/azureus2/lib/swt-win32.jar ; file:/home/ozge/Desktop/Azureus/vuze/swt.jar ; file:/home/ozge/Desktop/Azureus/vuze/swt/swt32.jar ; file:/home/ozge/Desktop/Azureus/vuze/swt/swt64.jar ; file:/home/ozge/Desktop/Azureus/vuze/ 
    DEBUG::Wed Dec 18 18:57:08 EET 2013 BC Provider 'BC_VUZE' initialised successfully (loaded from file:/home/ozge/workspace/AZ_SVN/bin/org/bouncycastle/jce/provider/BouncyCastleProvider.class) 
    changeLocale: *Default Language* != English (United States). Searching without country.. 
    changeLocale: Searching for language English in *any* country.. 
    changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)' 
    java.lang.reflect.InvocationTargetException 
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 
     at java.lang.reflect.Constructor.newInstance(Constructor.java:534) 
     at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:114) 
     at org.gudy.azureus2.ui.swt.Main.main(Main.java:325) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:622) 
     at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:37) 
     at java.lang.Thread.run(Thread.java:701) 
    Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
     no swt-gtk-4332 in java.library.path 
     no swt-gtk in java.library.path 
     /home/ozge/.swt/lib/linux/x86_64/libswt-gtk-4332.so: /home/ozge/.swt/lib/linux/x86_64/libswt-gtk-4332.so: ELF file data encoding not little-endian (Possible cause: endianness mismatch) 
     Can't load library: /home/ozge/.swt/lib/linux/x86_64/libswt-gtk.so 

     at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) 
     at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source) 
     at org.eclipse.swt.internal.C.<clinit>(Unknown Source) 
     at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source) 
     at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source) 
     at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source) 
     at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:85) 
     at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:64) 
     at com.aelitis.azureus.ui.swt.Initializer.<init>(Initializer.java:163) 
     ... 12 more 

現在是什麼問題?

回答

0

看來你在你的java.library.path有問題

搜索您的SWT lib和設置您的路徑。 也許你將不得不重新安裝SWT和Java。