Jar files
Last night and this morning i spent all day (total of about 5 to 6 hours) searching through the forums on how to get bit torrent to work. My first attempt was with bitTornado. Attempting to get wxpython and python to work together was unsuccessful.
So i decided to get a java version of torrent and tried Azuerus. I managed to extract the .bin file now i'm trying to extract the .jar file. Going through the forums and spending a few more hours trying to figure out how to install Java (version j2re-1_4_2_05-linux-i586) i managed to do so. Now when i try to extract/run the jar file i get the following response: **************************************************************************************************** * [mike@Mike Downloads]$ java -jar Azureus2.1.0.4.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58) at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45) at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70) at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64) at org.gudy.azureus2.ui.swt.Main.main(Main.java:104) **************************************************************************************************** * I'm not really firmilar with Java but what is this message telling me and how do i fix it? If it is compiled, where would the file be located? Sorry if there is a duplicate post, i wasn't sure on where to put it. Any help would be appreciated on trying to get torrent to work. |
This means you can't run the jar-file directly, it is just a jarred archive that you have to extract to get the classes you need to run it.
To extract the contents of a jar file: --> jar xf jar-file |
ahhh ok i extracted the files and i've got the classes in the folders i got. Now do i have compile them and execute ? And if i do how do i go abouts doing that?
This is what my result is after i extracted it **************************************************************************************************** ******************************************************************************** [mike@Mike Downloads]$ jar xf Azureus2.1.0.4.jar [mike@Mike Downloads]$ ls Azureus2.1.0.4.jar License.txt META-INF org com **************************************************************************************************** ******************************************************************************** |
Never mind i downloaded a differenet version of Azureus it works now. Thanks for your help anyways buddy
|
All times are GMT -5. The time now is 06:44 PM. |