File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes CLASSPATH Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "CLASSPATH" Watch "CLASSPATH" New topic
Author

CLASSPATH

suguna ramesh
Greenhorn

Joined: Mar 07, 2007
Posts: 5
i have set the CLASSPATH in the environmental variables for jess.jar

import jess.* is working if i am using java in command promt.

the same i tryed in eclipse and NetBeans i am getting the same error.

how to set CLASSPATH in eclipse and NetBeans or i have to copy the jess.jar to any of the package of eclipse and NetBeans.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14338
    
  22

I use Eclipse, so I can tell you how it works in Eclipse:

Right-click your project, choose Properties in the popup menu, select Java Build Path, click on the tabsheet Libraries, use the buttons "Add JARs..." (if the JAR file is in your project) or "Add External JARs..." (if the JAR file is not in your project) to add the JAR to your library.

Read the documentation of Eclipse and NetBeans.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
suguna ramesh
Greenhorn

Joined: Mar 07, 2007
Posts: 5
thank you very much it is working in eclipse.


if you can help me how to do it in NetBEans
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14338
    
  22

Did you read the NetBeans documentation?
 
 
subject: CLASSPATH