Vuze Logo |
In Kubuntu with apt-get, an old version of Vuze can be installed which has less functions. If you get version available on Vuze web site, the program will not start due to issue in swt.jar as follows.
kasun@konkord:~/Apps/vuze$ ./vuze Starting Azureus... Suitable java version found [java = 1.6.0_26] Configuring environment... Java exec found in PATH. Verifying... Browser check failed with: Cannot load 64-bit SWT libraries on 32-bit JVM Auto-scanning for GRE/XULRunner. You can skip this by appending the GRE path to LD_LIBRARY_PATH and setting MOZILLA_FIVE_HOME. checking /usr/lib/xulrunner for GRE Can not use GRE from /usr/lib/xulrunner because it's missing libxpcom.so. checking /usr/lib/mozilla for GRE Can not use GRE from /usr/lib/mozilla because it's missing libxpcom.so. checking /usr/lib/xulrunner-addons for GRE Can not use GRE from /usr/lib/xulrunner-addons because it's missing libxpcom.so. checking /usr/lib/firefox-5.0 for GRE GRE found at /usr/lib/firefox-5.0. Browser check failed with: Could not initialize class org.eclipse.swt.widgets.Display Can't create browser. Will try to set LD_LIBRARY_PATH and hope Vuze has better luck. setting LD_LIBRARY_PATH to: /usr/lib/firefox-5.0 setting MOZILLA_FIVE_HOME to: /usr/lib/firefox-5.0 Loading Azureus: java -Xmx128m -cp "./Azureus2.jar:./swt.jar" -Djava.library.path="/home/kasun/Apps/vuze" -Dazureus.install.path="/home/kasun/Apps/vuze" -Dazureus.script="./vuze" -Dazureus.script.version=2 org.gudy.azureus2.ui.swt.Main file:/home/kasun/Apps/vuze/Azureus2.jar ; file:/home/kasun/Apps/vuze/swt.jar ; file:/home/kasun/Apps/vuze/ 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:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.gudy.azureus2.ui.swt.Main.(Main.java:114) at org.gudy.azureus2.ui.swt.Main.main(Main.java:292) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.aelitis.azureus.launcher.MainExecutor$1.run(MainExecutor.java:37) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174) at org.eclipse.swt.internal.C. (C.java:21) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display. (Display.java:132) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread. (SWTThread.java:84) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:63) at com.aelitis.azureus.ui.swt.Initializer. (Initializer.java:163) ... 12 more Exit from Azureus complete No shutdown tasks to do Azureus TERMINATED. kasun@konkord:~/Apps/vuze$
Here is the method overcome those and install latest version.
Step 1: Download latest Vuze version (Vuze_Installer.tar.bz2) from http://www.vuze.com/
Step 2: Extract it to accessible place. Eg: ~/Apps/vuze or /opt/vuze
Step 3: Download the Standard Widget Toolkit (swt-X.X-gtk-linux-x86.zip) from http://www.eclipse.org/swt/
Step 4: Extract swt-X.X-gtk-linux-x86.zip to temporarily place and copy swt.jar
Step 5: Replace swt.jar in Vuze folder with one from extract swt-X.X-gtk-linux-x86.zip
Step 6: Now run vuze script in vuze folder. (Just double click or launch in a terminal)
Now you can see Vuze is running
kasun@konkord:~/Apps/vuze$ ./vuze
Starting Azureus...
Suitable java version found [java = 1.6.0_26]
Configuring environment...
Java exec found in PATH. Verifying...
GRE/XULRunner automatically found
Loading Azureus:
java -Xmx128m -cp "./Azureus2.jar:./swt.jar" -Djava.library.path="/home/kasun/Apps/vuze"
-Dazureus.install.path="/home/kasun/Apps/vuze" -Dazureus.script="./vuze"
-Dazureus.script.version=2 org.gudy.azureus2.ui.swt.Main
file:/home/kasun/Apps/vuze/Azureus2.jar ; file:/home/kasun/Apps/vuze/swt.jar ; file:/home/kasun/Apps/vuze/
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)'
UIFunctions/ImageLoad took 219ms
new shell took 569ms
new shell setup took 405ms
skin init took 570ms
MainMenu init took 480ms
pre skin widgets init took 119ms
Enjoy BitTorrent with Vuze
2 comments:
Great! Thanks for this howto. Worked for me with Mandriva 2009.0.
Your solution worked right away.
Thank you for sharing this little bit of info. Very much appreciated.
Post a Comment