Really simple classpath problem

Posted on 2003-02-22
Medium Priority
Last Modified: 2010-03-04
can any one give me a step by step instructions on how to set my classpath to include crimson.jar, jaxp.jar and xalan.jar in WinMe?

Question by:miki666
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
LVL 22

Accepted Solution

pjedmond earned 80 total points
ID: 8051145
Either in the Command window from which you intend to laundh the application, type in the following lines or similar:

SET CLASSPATH=D:\jdk1.3;D:\jdk1.3\src.jar;D:\jdk1.3\jre\lib;D:\jdk1.3\jre\bin
SET CLASSPATH=%CLASSPATH%;D:\jdk1.3\lib\crimson.jar;D:\jdk1.3\lib\jaxp.jar;D:\jdk1.3\lib\xalan.jar;D:\jdk1.3\lib\other.jar

Obviously adapt the lines to match your paths. Then from that command prompt, you can run the java classes that require these jars. Alternatively, insert the above lines into a batch file (file ending in .bat), that you can run. The last line of the batch file will be the java command to run the class that you want.

Hope that helps:)
LVL 22

Expert Comment

ID: 8051148
The above are examples - If you want you can do it all in one line:)

Author Comment

ID: 8052326
great. thank you... ^-^

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

765 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