?
Solved

what files to i need

Posted on 2004-08-30
6
Medium Priority
?
191 Views
Last Modified: 2010-03-31
Guys i really new in jxta world i have studied about the shell and instant p2p technologies and jxta basic structure when it comes to for writing my own appliaction
i am not able to find the appropriate package in my jdk i have got the latest jdk installed but i am not able to view the files need to build jxta application all i want from you guys to tell me send me link from where i can download the package and second of that i want you guys to tell me how to add that package into my jdk in jbuilderx thanks
0
Comment
Question by:bkniazi
[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
6 Comments
 
LVL 37

Expert Comment

by:zzynx
ID: 11931539
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11931560
You'll need to download a Java JXTA api - they won't come in JBuilder. Add the library (probably as a jar) to your project in JBuilder

http://www.jxta.org/project/www/download.html
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

Author Comment

by:bkniazi
ID: 11931602
i dont see any information about the jar files here its all documentation and source code no api
0
 
LVL 4

Accepted Solution

by:
hamood earned 1000 total points
ID: 11931610
You can download it from this link
http://download.jxta.org/stablebuilds/

It is jar file and you can set classpath for it.


If you are developing any standard or desktop application in java then you can set the classpath for jxta.jar in the Windows environment variables. If you are using any IDE like JBuilder for your project then you need to set the classpath for jxta in the project settings.

Follow these steps to add jar file in project classpath in Jbuilder.
Add the driver to the project in JBuilder

(I might have missed some step because currently I do not have Jbuilder installed on my machine)

1. Start JBuilder and open your project.

2. Choose "Project|Default Project Properties".

3. Select the Required Libraries tab on the Paths page, and then click the Add button.

4. Select the jxta.jar from the library list. If it is not already in the list then you have to add this jar file in your library with some name like Libray and then add this file in your project.

5. Click OK to close the Default Project Properties dialog box.

6. Now you can use classes of this jar file in your project.

 Follow these steps to set classpath for driver in windows environment. (XP)

Right click on MyComputer, select properties and then select Advance tab and press Environment variables button
In the system variable press new and add classpath variable like this
Classpath

C:\driver\jxta.jar (path of the jar file) (see #3 if classpath already exists)

 If claspath var already exists then you have to modify this var and add your jar file path at the end of this classpath by separating each entry with ; (semicolon). e.g. c:\jdk1.4\lib;c:\jxta.jar;
If you are struggling with the classpath settings, then add . (dot) at the start of classpath.  E.g.
 

Classpath

.;c:\jdk1.4\lib;c:\jxta.jar;


if you are developing any web based application and using any application server then classpath settings will be different (according to application server)

 In case of any confusion let me know.

hamood
 

0
 

Author Comment

by:bkniazi
ID: 11931870
thanks hamood it really was a great article of yours and felt very comfortable with it.
see ya
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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 third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

764 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