installing java libraries

John Hubbard ender8282 at yahoo.com
Wed Feb 11 14:33:11 UTC 2009


Thufir wrote:
> How do you go about "installing" jars?  I'll configure an IDE, netbeans, 
> to use the jar as a library.
>
>
> Would I just navigate to:
>
> https://rome.dev.java.net/
>
> and download rome-1.0RC2.jar
>   
If you set up netbeans to use them then it doesn't matter where they 
are. If you want to be able to use them when you launch a program from 
the command line then you just need to add a their location to the 
classpath. I am not sure where it is by default. You should be able to 
get it with something like:

System.out.println(System.getEnv("classpath"));

Try it and see what comes up.

-- 
-john

To be or not to be, that is the question
                2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
        0b11000100 || !0b11000100
        0b11000100 || 0b00111011
               0b11111111
        255, that is the answer.






More information about the ubuntu-users mailing list