Find the answer to your Linux question:
Results 1 to 3 of 3
Hello all, I am running Debian Squeeze. How can I download packages in Java? For example I need the javax.mail package. In windows, I simply download the JAR and point ...
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    59

    [SOLVED] How to download java packages in linux?

    Hello all,

    I am running Debian Squeeze. How can I download packages in Java? For example I need the javax.mail package.

    In windows, I simply download the JAR and point my classpath to that JAR.... How does this work in linux/debian? Is there apt-get command that I can use to get java packages?

    Thanks!

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    no, its the same process

    unless you are using a build tool like maven which would download them for you

  3. #3
    Just Joined!
    Join Date
    Jan 2011
    Posts
    59
    Quote Originally Posted by coopstah13 View Post
    no, its the same process

    unless you are using a build tool like maven which would download them for you
    Thank you!

    I manually just FTP'ed my JAR file from my Windows box to my Debian box.

    Also note to others coming from windows background is that the path separator is a colon not semi-colon. That took me awhile to figure out!

Posting Permissions

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