LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 08-05-2004, 01:11 PM   #1
krazibon3
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>(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.
 
Old 08-05-2004, 01:18 PM   #2
Charalambos
Member
 
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, 09:27 PM   #3
krazibon3
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
Azureus2.1.0.4.jar
License.txt
META-INF
org
com

**************************************************************************************************** ********************************************************************************
 
Old 08-05-2004, 09:42 PM   #4
krazibon3
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
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 08:51 AM.

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