Solved

How do I include JAR libraries in a NetBeans Project?

Posted on 2013-11-18
3
479 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
numbers ascending pyramid 101 213
hibernate insert example 13 34
Best environment for cross platform web development? 5 55
How to convert from xls to xlsx using java 7 55
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…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

828 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