Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
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…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Integration Management Part 2
Suggested Courses
Course of the Month11 days, 17 hours left to enroll

564 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