Solved

Howto install apache  XMLRPC

Posted on 2009-07-12
3
923 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java exception bubble up 2 21
null output 3 35
jboss 7.1 start up error 1 31
swing controls 2 16
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

840 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