Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I include JAR libraries in a NetBeans Project?

Posted on 2013-11-18
3
Medium Priority
?
501 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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 tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

688 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