Solved

Howto install apache  XMLRPC

Posted on 2009-07-12
3
913 Views
Last Modified: 2013-11-23
Novice Question...   Im trying to install Apache XMLRPC version 2 or 3.1.2 but I cant seem to find a simple guide to doing so.. I Have tried installing it on my ClassPath  but still am unable to see it on NetBeans IDE.. In the book im following it says it should be able to access it through the  statement : import org.apache.xmlrpc.*;   I get the org.apache packages but no xmlrpc ???? Any Ideas??? please anybody?? (My UGLY class path is shown below--Surley theres a better way, this includes both versions of  Apache xmlrpc)
.;C:\Program Files\Java\jdk1.6.0_12\lib\tools.jar;C:\dev\java.;C:\Program Files\XOM\xom-1.2.1.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\xmlrpc\lib\commons-logging-1.1.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\xmlrpc\lib\ws-commons-util-1.0.2.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\xmlrpc\lib\xmlrpc-client-3.1.2.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\xmlrpc\lib\xmlrpc-common-3.1.2.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\xmlrpc\lib\xmlrpc-server-3.1.2.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\apache-xmlrpc-2.0\xmlrpc-2.0\xmlrpc-2.0.jar;C:\Program Files\Java\jdk1.6.0_12\jre\lib\ext\apache-xmlrpc-2.0\xmlrpc-2.0\xmlrpc-2.0-applet.jar

Open in new window

0
Comment
Question by:GCF1
  • 2
3 Comments
 
LVL 20

Expert Comment

by:a_b
ID: 24837433
I think you need to include it on the build path of your project in your netbeans project through the netbeans project.
0
 
LVL 20

Accepted Solution

by:
a_b earned 500 total points
ID: 24837435
Managing the Classpath
NetBeans automatically adds everything on your project's compilation classpath to the project's runtime classpath. To manage a project's classpath:

In the Projects window, right-click the project's node and choose Properties.
In the Project Properties dialog box, click the Libraries node in the left pane.
Select the Compile tab in the dialog box's right pane.
Add the necessary elements to the project's compilation classpath by clicking the appropriate button. You can add any of the following:
Project. The JAR file or WAR file produced by another project, as well as the associated source files and Javadoc documentation
Library. A collection of JAR files or folders with compiled classes, which can optionally have associated source files and Javadoc documentation
JAR file. A JAR file somewhere on your system

Ref : - http://java.sun.com/developer/onlineTraining/tools/netbeans_part1/
0
 

Author Closing Comment

by:GCF1
ID: 31602720
Yup cool thankyou.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

757 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