Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I only installed linux recently and am very new. I looked around but have no clue how to install a .jar file. I did, however, get the tar.gz file ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9

    azureus .jar installation guidance

    Hi, I only installed linux recently and am very new. I looked around but have no clue how to install a .jar file. I did, however, get the tar.gz file for firefex installed w/ Installing Firefox in Linux

    Could anyone explain how to install a .jar file and where is a good place to put it via steps?

    On SourceForge.net: Files I installed the Azureus3.0.1.6.jar to the desktop b/c it looks like the most recent and appropriate. I choose "save to disk" which is default by firefox..

    Basic system info: Fedora, KDE

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    Quote Originally Posted by lininnex View Post
    Hi, I only installed linux recently and am very new. I looked around but have no clue how to install a .jar file. I did, however, get the tar.gz file for firefex installed w/ Installing Firefox in Linux

    Could anyone explain how to install a .jar file and where is a good place to put it via steps?

    On SourceForge.net: Files I installed the Azureus3.0.1.6.jar to the desktop b/c it looks like the most recent and appropriate. I choose "save to disk" which is default by firefox..

    Basic system info: Fedora, KDE
    Hiya lininnex,
    Just click on your Kmenu>System>Terminal
    Then login as root like this
    su - (always include the hyphen) {press enter}
    then use yum to install for you with this command
    yum install Azureus
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9
    Oh, im trying to do it the non-yum way. It has issues and has dependencies like gtk.. something and I'm assuming that's for gnome since that's the default environment.

    I'm trying to get the non-fedora version like I did w/ firefox.

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    You will need to satisfy all depends before you can install it, and yum will do this for you. If you have any trouble using yum I'm sure there is someone who can help you.
    But if you just want to install from source, you still must satisfy all the depends before installing.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  5. #5
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9
    firefox worked w/o a problem... the dependencies has issues, I'm telling you. I'm not _that_ new. ie when you go to uninstall openoffice, it says the one of the dependencies is firefox and tries to uninstall it. it's buggy or something and i'll need find a way to fix that later...

    right now does anyone know how to install a .jar file, mb just give me an article i can do it, like i did w/ firefox.

  6. #6
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9
    Oh i found this and going to do Azureus : Java BitTorrent client - FAQ

  7. #7
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9
    Hey this is really confusing at first:

    on one page it says
    "To get Azureus to start on linux you need to download SWT."
    Azureus : Java BitTorrent client - FAQ

    on another page it says
    "1) Install JRE from here."
    Azureus : Java BitTorrent Client - How To: Linux

    which do i install first, am i suppose to install both?

  8. #8
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    180
    I've run vanilla upstream version of azureus before without swt, I don't think you actually need it. But you do you need sun's java jre. Download and install that from sun's site, it's pretty straightforward.

    If you have java installed, then *.jar's are run by executing java -jar [file.jar], so foo.jar is run by java -jar foo.jar.

    But azureus usually has a non-jar binary that you run in it's directory by doing ./azureus &.

    You don't have to install Azureus, all you have to do is alias azureus to the location where you put it, or soft link azureus to /usr/local/bin/azureus.

    So it's actually pretty straightforward--

    (a) download, extract and install sun's java runtime environment
    (b) download and extract azureus (binary form).
    (c) alias, soft link, or create shortcuts to make executing the azureus binary easy.

    I think that in Fedora, there is a way to change the default java, you probably have gcj installed and used by default, I don't remember how you change that, but you can probably find out by man java.

  9. #9
    Just Joined!
    Join Date
    Jul 2007
    Posts
    9
    Well you two are experts w/ Slackware and Gentoo...

    Following Installation Notes I got a) done Now for the next one.

    On this page, SourceForge.net: Files
    for the latest azureus-3.0.1.6
    it shows these two are "Platform-Independent"
    Azureus3.0.1.6.jar
    Azureus_3.0.1.6_source.zip

    So from there, I'm lost. Which is preferable, better, or more efficient..?
    well i had the .jar file, i tried,
    java -jar azureus3.0.1.6.jar
    and it returned,
    Failed to load Main-Class manifest attribute from azureus3.0.1.6.jar

    ...what did i do wrong?

    Terms I never heard before today
    "vanilla upstream version"
    "alias, soft link"
    "gcj"
    well at least I know what man java will bring up, too bad I likely wouldn't understand it.

    I've a quick q about this:
    "su - (always include the hyphen) {press enter}"
    i seen it w/ just su and so i don't put the hyphen anymore.
    do we need it? what does including it do?

    also "non-jar binary"
    that means .bin right? or can other files be "binary"? Any quality reading materials you experts know of?

  10. #10
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,144
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...