Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-05-2004, 02:11 PM   #1
LQ Newbie
Registered: Aug 2004
Posts: 15

Rep: Reputation: 0
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>(
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(
at org.gudy.azureus2.ui.swt.Main.<init>(
at org.gudy.azureus2.ui.swt.Main.main(
**************************************************************************************************** *
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.
Old 08-05-2004, 02:18 PM   #2
Registered: Aug 2004
Location: Switzerland
Distribution: debian
Posts: 149

Rep: Reputation: 15
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
Old 08-05-2004, 10:27 PM   #3
LQ Newbie
Registered: Aug 2004
Posts: 15

Original Poster
Rep: Reputation: 0
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

**************************************************************************************************** ********************************************************************************
Old 08-05-2004, 10:42 PM   #4
LQ Newbie
Registered: Aug 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Never mind i downloaded a differenet version of Azureus it works now. Thanks for your help anyways buddy


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
jar files Knowledgements Slackware 12 07-22-2005 04:36 AM
Fedora Core 1 Associating .jar files with java -jar command pymehta Fedora 0 01-13-2005 06:26 AM
What do i do with .jar files joeman3429 Fedora 11 07-26-2004 12:00 PM
Eclipse 3.0 and JAR files german Programming 1 02-22-2004 01:28 PM
jar files mlynch147 Programming 2 10-24-2001 08:11 AM

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration