• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing Library

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I have searched the message archive and not found an answer.
I have downloaded a class library that I need to make use of but I cannot seem to find any documentation on how to install it. I tried putting it into the 'include' folder but I am not able to access anything from the new library.
Any help will be greatly appreciated.
Glen
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to add it to your CLASSPATH.
 
Glen Scheel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not to sound completely lost, but how do I add something to my classpath. What I've found online makes it seem like I can do it in the system applet of the control panel but slasspath is not one of the environment variables listed.
 
Joel McNary
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IF it's not there then you need to create a new entry. (Are you using Windows? I've never heard it called the system "applet" before....)
Just add a new entry to the Environment, call it CLASSPATH, and point it to your root class directory or directories. Also include the .jar files. So, it should look like:
C:\user\java\sources;c:\user\java\libs\mylibrary.jar;C:\user\java\libs\someOtherLib.jar
See this article in the FAQ for more information.
 
Glen Scheel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's working now, Thanks!
Glen
 
reply
    Bookmark Topic Watch Topic
  • New Topic