Solved

How do I include JAR libraries in a NetBeans Project?

Posted on 2013-11-18
3
474 Views
Last Modified: 2014-01-07
I am fairly new to Java, but have done some basic development.

I am working on creating a Java based application that will read the MtGox bitcoin exchange, and take the stream and put it into a MySQL database (Something I would normally do with PHP, excpet PHP is not the best tool for dealing with persistent connections like reading a web socket).

This library (http://xeiam.com/xchange.jsp) appears to have everything I need. And, I would like to get the example #5 working (see: http://xeiam.com/xchange_examplecode.jsp).

Here's the first issue: when I try to add the library to NetBeans, code completion does not work, and so I am assuming that it wasn't really added.

Question:

1. What is the proper file system layout for adding a set of jar files (like the ones from this download) into a Java project?

2. How do I create a project, and then add references to these jar files so code completion works?
0
Comment
Question by:DrDamnit
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Manish
ID: 39658489
0
 
LVL 32

Author Comment

by:DrDamnit
ID: 39663938
To which part of that page are you referring?
0
 
LVL 11

Accepted Solution

by:
Manish earned 500 total points
ID: 39664967
Check section Managing a Project's Classpath.
Basically what error you are getting?
If particular class is not found , have you check that that class  is available in jars?
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now